add struct for sensors, add sketch.h
This commit is contained in:
parent
0a4938243e
commit
e8471445ed
3 changed files with 166 additions and 0 deletions
10
examples/osd/arduino-dallastemp/sketch.h
Normal file
10
examples/osd/arduino-dallastemp/sketch.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef Sketch_h
|
||||
#define Sketch_h
|
||||
|
||||
struct dstemp{
|
||||
float ftemp;
|
||||
char stemp[8];
|
||||
};
|
||||
extern struct dstemp ds1820[7];
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue