SNAPpy Built-Ins

In This Section

getInfo

RF220 Series modules can return different module family values. Expected getInfo() return values:

getInfo(0) # returns 0 meaning "Synapse Wireless"

Module family possibilities:

getInfo(3) # returns 27 meaning RF220UF1 (because it uses an SM220)
getInfo(3) # returns 30 meaning RF220SU
getInfo(3) # returns 31 meaning RF220SU-EU

sleep

The RF220 Series includes a 32kHz crystal RTC, so for most efficient sleep() you should use sleep mode 1 or 2, depending on the sleep duration. See the ATMEL ATmega128RFA1 chip section for more information.