Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE mbed
Fork of Gas_Sensor_best_copy by
Diff: GasArray.h
- Revision:
- 1:fec4764e82cb
- Parent:
- 0:bd3708b85a8b
diff -r bd3708b85a8b -r fec4764e82cb GasArray.h
--- a/GasArray.h Thu Jun 16 21:59:31 2016 +0000
+++ b/GasArray.h Tue Jun 28 18:58:40 2016 +0000
@@ -9,6 +9,7 @@
void read(); // Returns voltage values
void display_init(uLCD_4DGL *uLCD); // Prints sensor types and gases
void display_cont(uLCD_4DGL *uLCD); // Prints response and gas percentages
+ void tare(); // Adjusts base resistances for no gas
private:
int number; // Number of sensors
float * baseR; // Base resistance of sensors
