ESP_IOT v2.5
IOT ESP Coding
M5Atom_CameraModuleClass.h
Go to the documentation of this file.
1//
2// M5Atom_CameraModuleClass.hpp
3// ESP_IOT
4//
5// Created by Scott Moody on 8/16/25.
6//
7
8#ifndef M5Atom_CameraModuleClass_hpp
9#define M5Atom_CameraModuleClass_hpp
10
11
12#include "../../Defines.h"
13
14#include "M5AtomClassType.h"
15
16//! An concrete class
18{
19public:
20 //! constructor
21 M5Atom_CameraModuleClass(char *config);
22
23 //! destructor
25
26 //! Data members of class
27 //! Generic config info .. specific the the sensor type
28
29 //!starts the PTStepper
31
32 //!setup the PTStepper
34
35 //! stops motor
37
38 //!setup the PTStepper
40
41 //! ATOM specific
42
43 //! these are from the ATOM
44
45 //! 8.28.23 Adding a way for others to get informed on messages that arrive
46 //! for the set,val
47 //! 12.27.23 support setName == "HDriver"
48 //! 1.10.24 if deviceNameSpecified then this matches this device, otherwise for all.
49 //! It's up to the receiver to decide if it has to be specified
50 void messageSetVal_M5AtomClassType(char *setName, char* valValue, boolean deviceNameSpecified);
51
52 //! 12.28.23, 8.28.23 Adding a way for others to get informed on messages that arrive
53 //! for the send -
54 void messageSend_M5AtomClassType(char *sendValue, boolean deviceNameSpecified);
55
56 //! 12.28.23, 8.28.23 Adding a way for others to get informed on messages that arrive
57 //! for the cmd
58 //void messageCmd_M5AtomClassType(char *cmdValue);
59
60 //! BUTTON PROCESSING abstraction
61 //!short press on buttonA (top button)
63 //!long press on buttonA (top button)
65
66 //!returns a string in in URL so: status&battery=84'&buzzon='off' } .. etc
67 //!starts with "&"*
69
70 //!returns a string in in JSON so: status&battery=84'&buzzon='off' } .. etc
71 //!starts with "&"*
73};
74
75
76#endif /* M5Atom_CameraModuleClass_hpp */
void messageSetVal_M5AtomClassType(char *setName, char *valValue, boolean deviceNameSpecified)
ATOM specific.
void start_M5AtomClassType()
starts the PTStepper
void messageSend_M5AtomClassType(char *sendValue, boolean deviceNameSpecified)
M5Atom_CameraModuleClass(char *config)
constructor
void buttonA_LongPress_M5AtomClassType()
long press on buttonA (top button)
void loop_M5AtomClassType()
setup the PTStepper
void setup_M5AtomClassType()
setup the PTStepper
~M5Atom_CameraModuleClass()
destructor
An mostly virtual class.