pfodParser  3.55.0
The pfodParser library is handles commands sent from the Android pfodApp, pfodApp supports WiFi, BLE, Bluetooth and SMS connections
pfodTouchAction.h
Go to the documentation of this file.
1 #ifndef pfodTouchAction_h
2 #define pfodTouchAction_h
3 /*
4  * (c)2014-2017 Forward Computing and Control Pty. Ltd.
5  * NSW Australia, www.forward.com.au
6  * This code is not warranted to be fit for any purpose. You may only use it at your own risk.
7  * This code may be freely used for both private and commercial use
8  * Provide this copyright is maintained.
9  */
10 #include <stdint.h>
11 #include <Arduino.h>
12 #include "pfodDwgsBase.h"
13 
14 class pfodTouchAction : public pfodDwgsBase {
15  public:
18  pfodTouchAction &cmd(const char _cmd); // default ' ' not set
19  pfodTouchAction &cmd(const char* _cmdStr);
20  void init(Print *out, struct VALUES* _values);
21  void send(char _startChar = '|');
22  private:
23  pfodDwgsBase *actionPtr;
24  char actionCmd;
25  const char* actionCmdStr;
26 };
27 #endif // pfodTouchAction_h
Print * out
Definition: pfodDwgsBase.h:58
pfodTouchAction & cmd(const char _cmd)
pfodTouchAction & action(pfodDwgsBase &_action)
pfodTouchAction & cmd(const char *_cmdStr)
void send(char _startChar='|')
void init(Print *out, struct VALUES *_values)