ESP_IOT v2.5
IOT ESP Coding
M5Atom_NoModuleClass.h
Go to the documentation of this file.
1//
2// M5Atom_NoModuleClass.hpp
3// ESP_IOT
4//
5// Created by Scott Moody on 10/26/25.
6//
7
8#ifndef M5Atom_NoModuleClass_hpp
9#define M5Atom_NoModuleClass_hpp
10
11
12
13#include "../../Defines.h"
14
15#include "M5AtomClassType.h"
16
17//! An concrete class
19{
20public:
21 //! constructor
22 M5Atom_NoModuleClass(char *config);
23
24 //! destructor
26
27 //! Data members of class
28 //! Generic config info .. specific the the sensor type
29
30 //!starts the PTStepper
32
33 //!setup the PTStepper
35
36 //! stops motor
38
39 //!setup the PTStepper
41
42 //! ATOM specific
43
44 //! these are from the ATOM
45
46 //! 8.28.23 Adding a way for others to get informed on messages that arrive
47 //! for the set,val
48 //! 12.27.23 support setName == "HDriver"
49 //! 1.10.24 if deviceNameSpecified then this matches this device, otherwise for all.
50 //! It's up to the receiver to decide if it has to be specified
51 void messageSetVal_M5AtomClassType(char *setName, char* valValue, boolean deviceNameSpecified);
52
53 //! 12.28.23, 8.28.23 Adding a way for others to get informed on messages that arrive
54 //! for the send -
55 void messageSend_M5AtomClassType(char *sendValue, boolean deviceNameSpecified);
56
57 //! 12.28.23, 8.28.23 Adding a way for others to get informed on messages that arrive
58 //! for the cmd
59 //void messageCmd_M5AtomClassType(char *cmdValue);
60
61 //! BUTTON PROCESSING abstraction
62 //!short press on buttonA (top button)
64 //!long press on buttonA (top button)
66
67 //!returns a string in in URL so: status&battery=84'&buzzon='off' } .. etc
68 //!starts with "&"*
70
71 //!returns a string in in JSON so: status&battery=84'&buzzon='off' } .. etc
72 //!starts with "&"*
74
75
76 //!6.6.24 D-Day 81 years
77 //!return true or false if this should be a PTFeeder or PTClicker
78 //!default 'false' to PTClicker. The Bluetooth will use this
80
81private:
82 //! display SerialDebug
83 void displayInfo_No();
84
85};
86
87#endif /* M5Atom_NoModuleClass_hpp */
88
An concrete class.
~M5Atom_NoModuleClass()
destructor
void setup_M5AtomClassType()
setup the PTStepper
M5Atom_NoModuleClass(char *config)
constructor
void messageSend_M5AtomClassType(char *sendValue, boolean deviceNameSpecified)
void buttonA_LongPress_M5AtomClassType()
long press on buttonA (top button)
void messageSetVal_M5AtomClassType(char *setName, char *valValue, boolean deviceNameSpecified)
ATOM specific.
void stop_M5AtomClassType()
stops motor
void loop_M5AtomClassType()
setup the PTStepper
void start_M5AtomClassType()
starts the PTStepper
An mostly virtual class.