Specifications

writeChunk(offset, data) – Synapse Use Only
This function is used by Portal and SNAPconnect as part of the script uploading process.
There should be no reason for user scripts to call this function, and attempting to do so could erase or
corrupt all of your SNAP firmware, requiring a firmware reload (Portal has the capability to do this).
This function does not return a value.
writePin(pin, isHigh) – Set output pin level
This function allows you to control digital output pins (IO pins configured as digital outputs).
Parameter pin specifies which IO pin to control. Parameter isHigh makes the pin go high (True) or low
(False).
This function has no effect unless/until the pin is configured as a digital output pin via setPinDir(). See
also related function setPinSlew(), which controls how quickly the pin will transition to a new value.
This function does not return a value.
SNAP Reference Manual Document Number 600-0007K Page 81 of 202