Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.

Example: SPI

JBtje edited this page Jun 5, 2015 · 5 revisions
5 //
6 // "Read the vendor info from the MB85RS64V FRAM memory chip"
7 //
10 DIM D(5)
20 D(0) = 0X9F
30 PINMODE P0(1) OUTPUT
40 P0(1) = 1
50 SPI MASTER 3, 0, MSB 1
60 SPI TRANSFER P0(1) D
70 PRINT D(0)," ",D(1)," ",D(2)," ",D(3)," ",D(4)

More info here

Clone this wiki locally