Skip to content
Update API authored by Vince Mulhollon's avatar Vince Mulhollon
......@@ -49,6 +49,32 @@ Example:
</pre>
Would light the active-high LED on the adafruit seesaw breakout board, assuming PA27 had previously been set to output.
## seesaw:eeprom-read
Return a decimal byte stored at an eeprom address.
An example that writes decimal 99 to eeprom address 0x00, reads it, overwrites with decimal 11, and reads that:
<pre>
(seesaw:eeprom-write #x00 99)
(seesaw:eeprom-read #x00)
99
(seesaw:eeprom-write #x00 11)
(seesaw:eeprom-read #x00)
11
</pre>
## seesaw:eeprom-write
Writes a decimal byte to an eeprom address.
An example that writes decimal 99 to eeprom address 0x00, reads it, overwrites with decimal 11, and reads that:
<pre>
(seesaw:eeprom-write #x00 99)
(seesaw:eeprom-read #x00)
99
(seesaw:eeprom-write #x00 11)
(seesaw:eeprom-read #x00)
11
</pre>
## seesaw:id-read
Read the hardware ID of the chip, which should always be 0x55 aka 85 decimal. Parameters:
<pre>
......
......