Atmosphere Sensor Board Controller Code |
The code has sections for: 1. Initializing the display and the sensor. 2. Executing Mode commands fron the manual swirch and the receiver. 3. Identifying the Mode, when changed, on the display. 4. Converting the internal and external data to display values. 5. Timing reading internal sensor reading and displaying the values. 6. Accepting messages containing external measurements from the receiver. |
Here are the variable declarations |
Here are the EEPROM declarations |
Here is the initialization code . |
Here is the main loop code . |
Here is the subroutine which deals with the switch. |
Here is the subroutine for acquiring and storing the sensor inputs |
Here is the subroutine which deals with displaying the external inputs. |
Here is the subroutine which waits for the stepping motor to stop. |
Here is the subroutine for displaying a character. |
Here are subroutines for displaying a number |
Here are subroutines for displaying a fixed message |
Here is the subroutine for updating the display values and the dial |
Here is the interrupt code |