| Purpose: | Print the values read most recently from each of the eleven (11) physical MCU Analog Input channels. | |||
| Assumes: | The BIT_SM_A2D bit in EEbSystemMode is TRUE, thereby enabling the automatic Analog to Digital conversions. | |||
| Passed: | Nothing. | |||
| Returns: | Nothing in Registers, only COM1 serial port output. | |||
| Alters: | R24, R25, R30, R31, the FLAGs (SREG) and the COM1 Transmit buffer | |||
| Example: |
|
|||
| Test it: |
| |||
| Notes: | Each of the eleven (11) Analog Input channels is converted to a 10-bit (0 to 1023, or 0x000 to 0x3FF) Analog value. | |||
| In addition to the eight (8) Analog Inputs, ADC0 through ADC7, the chip Vcc, Ground and Temperature values are also read. | ||||
| All of these values are maintained in the WORD array wAnalogInputs[ 11 ], beginning at SRAM address 0x0100. | ||||
| Dropin: (setup code) |
; Setup for the PrintAllAIns() call: ; Passed: Nothing. ; Returns: Nothing. ; Alters: R24, R25, R30, R31, the FLAGs, and the COM1 Transmit Buffer | |||
| Also see: | The ReadA2DValue, PrintMainProgramHz, and PrintScriptProgramHz System Functions. | |||
| The BIT_RTC_SEC_AINS in EEbFlags_RTC causes this function to be called automatically once each second. | ||||