diff --git a/index.html b/index.html index 35b2ca6..9694876 100644 --- a/index.html +++ b/index.html @@ -453,6 +453,16 @@ $ dfu-util -D new-image.dfu # Load new program
+

Read SPI ID

+

+                                >>> spi = fomu.spi()
+                                >>> hex(spi.id())
+                                '0xc2152815'
+                                >>>
+                        
+
+ +

Memory-Mapped Registers

#define CSR_VERSION_MAJOR_ADDR 0xe0007000
 #define CSR_VERSION_MINOR_ADDR 0xe0007004
@@ -464,7 +474,7 @@ $ dfu-util -D new-image.dfu    # Load new program
-

RGB LEDD reference

+

RGB LED Driver reference

ICE40 LEDD registers
>>> rgb.write_raw(0b0001, 255)
 >>> rgb.write_raw(0b1010, 14)