Numworks Epsilon  1.4.1
Graphing Calculator Operating System
charge.cpp
Go to the documentation of this file.
1 #include "command.h"
2 #include <ion.h>
3 
4 namespace Ion {
5 namespace Device {
6 namespace Bench {
7 namespace Command {
8 
9 void Charge(const char * input) {
10  if (input != nullptr) {
12  return;
13  }
15  reply("CHARGE=ON");
16  } else {
17  reply("CHARGE=OFF");
18  }
19 }
20 
21 }
22 }
23 }
24 }
bool isCharging()
Definition: battery.cpp:16
const char *const sSyntaxError
Definition: command.cpp:11
void Charge(const char *input)
Definition: charge.cpp:9
void reply(const char *s)
Definition: command.cpp:15
Definition: backlight.h:6