Specifications

SNAPpy Virtual Machine Memory Usage
Number of Tiny Strings: 7
Tiny String Size: up to 8 characters
Number of Medium Strings: 6
Medium String Size: up to 62 characters
Global Variables: 64
Concurrent Local Variables: 64
Maximum Call Stack Depth: 8
Platform-Specific SNAPpy Built-In Functionality
Built-in function lcdPlot():
On Synapse RF100 Engines, function lcdPlot() has no effect.
Built-in function pulsePin():
On Synapse RF100 Engines, negative durations are in units of approximately 1.1 microsecond.
Built-in function random():
On Synapse RF100 Engines, the pseudo-random number generation is done completely in software.
Built-in function readAdc()
On the Synapse RF100 Engine, channels 0-7 correspond to one of the eight external analog input pins.
Channel 8 refers to the internal high voltage reference. Channel 9 refers to the internal low voltage
reference.
The mapping of Analog Input Channels to GPIO pins is as follows:
Analog Input Channel GPIO Pin
0 18
1 17
2 16
3 15
4 14
5 13
6 12
7 11
This function returns an integer value 0-1023 (these are 10-bit analog to digital converters). Since the
full-scale voltage is 3.3 volts, each step represents about 3.2 millivolts.
Built-in function setRadioRate():
On Synapse RF100 Engines, setRadioRate() has no effect. Only the standard 250 Kbps rate is
supported.
Built-in function sleep():
On Synapse RF100 Engines, there are two sleep modes supported.
Page 124 of 202 SNAP Reference Manual Document Number 600-0007K