syntouch_numatac_sensor_hello_world
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syntouch_numatac_sensor_hello_world [2023/06/13 14:23] – fpalustre | syntouch_numatac_sensor_hello_world [2023/06/17 07:28] (current) – [Programming] fpalustre | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Syntouch Numatac Sensor "Hello World====== | + | ====== Syntouch Numatac Sensor "Hello World"====== |
**Author:** Francis Palustre | **Author:** Francis Palustre | ||
Line 197: | Line 197: | ||
acPressure = samplePAC(); | acPressure = samplePAC(); | ||
| | ||
- | | + | |
- | Serial.println(" | + | Serial.println(" |
- | break; | + | } |
+ | else if ((acPressure > 2100) && (dcPressure > 150)) { | ||
+ | Serial.println(" | ||
} | } | ||
- | + | else if ((acPressure < 2100) && (dcPressure != 163 && | |
- | while ((acPressure > 2100) && (dcPressure > 150)) { | + | Serial.println(" |
- | Serial.println(" | + | |
- | break; | + | |
- | } | + | |
- | + | ||
- | while ((acPressure < 2100) && | + | |
- | Serial.print(" | + | |
- | break; | + | |
} | } | ||
} | } |
syntouch_numatac_sensor_hello_world.1686691432.txt.gz · Last modified: by fpalustre