pfodParser 3.55.0 The pfodParser library is handles commands sent from the Android pfodApp, pfodApp supports WiFi, BLE, Bluetooth and SMS connections

pfodTouchZone.h
Go to the documentation of this file.
1 #ifndef pfodTouchZone_h
2 #define pfodTouchZone_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 pfodTouchZone : public pfodDwgsBase {
15 public:
16 pfodTouchZone();
17 pfodTouchZone &size(float width, float height); // default 1x1
18 pfodTouchZone &cmd(const char _cmd); // default ' ' not set
19 pfodTouchZone &cmd(const char* _cmdStr);
20 pfodTouchZone &idx(uint16_t _idx); // default 0 i.e. not set
21 pfodTouchZone &autoIdx(uint16_t &_idx); // reserve new idx if 0
22 pfodTouchZone &offset(float _colOffset, float _rowOffset); // default 0,0
23 pfodTouchZone &centered(); // default not centered
24 pfodTouchZone &filter(uint16_t _filter); // default 0 TOUCH
25 void init(Print *out, struct VALUES* _values);
26 void send(char _startChar = '|');
27 };
28 #endif // pfodTouchZone_h
pfodDwgsBase
Definition: pfodDwgsBase.h:55
pfodDwgsBase::out
Print * out
Definition: pfodDwgsBase.h:58
pfodTouchZone
Definition: pfodTouchZone.h:14
pfodTouchZone::pfodTouchZone
pfodTouchZone()
pfodTouchZone::init
void init(Print *out, struct VALUES *_values)
pfodTouchZone::size
pfodTouchZone & size(float width, float height)
pfodTouchZone::idx
pfodTouchZone & idx(uint16_t _idx)
pfodTouchZone::cmd
pfodTouchZone & cmd(const char *_cmdStr)
pfodTouchZone::autoIdx
pfodTouchZone & autoIdx(uint16_t &_idx)
pfodTouchZone::filter
pfodTouchZone & filter(uint16_t _filter)
pfodTouchZone::centered
pfodTouchZone & centered()
pfodTouchZone::send
void send(char _startChar='|')
pfodTouchZone::offset
pfodTouchZone & offset(float _colOffset, float _rowOffset)
pfodTouchZone::cmd
pfodTouchZone & cmd(const char _cmd)
pfodDwgsBase.h
VALUES
Definition: pfodDwgsBase.h:15