Skip to content
More clearly explained i2c address control authored by Vince Mulhollon's avatar Vince Mulhollon
...@@ -12,7 +12,7 @@ digital-read-p.lisp - Reads a bit from GPIO. Note, you should set the pin direc ...@@ -12,7 +12,7 @@ digital-read-p.lisp - Reads a bit from GPIO. Note, you should set the pin direc
(seesaw:digital-read-p 'PA10) (seesaw:digital-read-p 'PA10)
</pre> </pre>
i2c-address.lisp - All installations require this variable to be defined to configure the chip I2C addrs. If you have multiple devices in a project, you can change that variable on the fly. i2c-address.lisp - All installations require this variable to be defined to configure the chip I2C addrs. If you have multiple devices in a project, you can change the mutable global variable *seesaw:i2c-address* on the fly between running functions.
id-read.lisp - Read the hardware ID of the chip, which should always be 0x55 aka 85 decimal. Example: id-read.lisp - Read the hardware ID of the chip, which should always be 0x55 aka 85 decimal. Example:
<pre> <pre>
... ...
......