|
Last change
on this file since 19285 was 18187, checked in by tbretz, 10 years ago |
|
New program to readout the arduino with the new temperature and humidity sensor in the camera.
|
|
File size:
343 bytes
|
| Line | |
|---|
| 1 | #ifndef FACT_HeadersPFmini
|
|---|
| 2 | #define FACT_HeadersPFmini
|
|---|
| 3 |
|
|---|
| 4 | namespace PFmini
|
|---|
| 5 | {
|
|---|
| 6 | namespace State
|
|---|
| 7 | {
|
|---|
| 8 | enum states_t
|
|---|
| 9 | {
|
|---|
| 10 | kDisconnected = 1,
|
|---|
| 11 | kConnected,
|
|---|
| 12 | kReceiving
|
|---|
| 13 | };
|
|---|
| 14 | };
|
|---|
| 15 |
|
|---|
| 16 | struct Data
|
|---|
| 17 | {
|
|---|
| 18 | float hum;
|
|---|
| 19 | float temp;
|
|---|
| 20 | } __attribute__((__packed__));
|
|---|
| 21 |
|
|---|
| 22 | };
|
|---|
| 23 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.