Specifications

Built-in functions peekRadio() and pokeRadio():
These functions are not necessary on the ZIC2410. The internal radio registers are in the main memory
space of the ZIC2410, and can be read or written using the regular peek() and poke() functions.
Built-in function pulsePin():
On the ZIC2410, negative durations are in units of approximately 1.63 microsecond.
Built-in function random():
On the ZIC2410, the pseudo random number generation is done in hardware, not software.
Built-in function readAdc()
On the ZIC2410, channels 0-3 correspond to direct reads of one of the four external analog input pins.
Channels 4 and 5 are differential versions of the channel 0/1 pair, and the channel 2/3 pair. Channel 6
is based on the internal temperature of the ZIC2410. Channel 7 is connected to an internal battery
monitor circuit. Channel 8 refers to the internal high voltage reference. Channel 9 refers to the internal
low voltage reference.
This function normally returns an integer value 0-255 (these are 8-bit analog to digital converters).
The ZIC2410 hardware also supports reading an uncalibrated 16-bit value. You can take these
alternate readings by adding 10 to the channel number.
The following table summarizes the ADC related options on the ZIC2410:
Channel Meaning Channel Number
for 8-bit
calibrated read
Channel Number
for 16-bit
uncalibrated read
ACH0 0 10
ACH1 1 11
ACH2 2 12
ACH3 3 13
Differential read
from ACH0/ACH1
4 14
Differential reading
from ACH2/ACH3
5 15
Internal Temperature 6 16
Battery Monitor 7 17
High Reference 8 18
Low Reference 9 19
Refer to the ZIC2410 datasheets for more information.
NOTE – The ADC on this chip is 1.5 volts. You should not scale it off VCC.
NOTE – SNAPpy only supports signed integers (-32768 to 32767), so you will need to account for
that when performing calculations from raw sensor readings > 32767.
SNAP Reference Manual Document Number 600-0007K Page 147 of 202