Demo of Adafruit_SSD1306 graphics library and SPI interface on RedBear NANO nRF51822 board
Dependencies: Adafruit_GFX_nano SPI_Demo_Nano
This is a test of the RedBear nano board and the Adafruit oled display. Currently not working because of some problem with the SPI driver which I can't understand.
Diff: main.cpp
- Revision:
- 6:7e8a60bcefaf
- Parent:
- 5:3ddf5a7e6187
--- a/main.cpp Wed Feb 25 22:14:26 2015 +0000 +++ b/main.cpp Wed Feb 25 22:47:55 2015 +0000 @@ -80,7 +80,7 @@ pc.printf("SPI Demo Start \r\n"); //SPI1.begin(); - SPI1.begin(P0_6, P0_15, P0_29);//SCK, MOSI, MOSI + SPI1.begin(P0_8, P0_15, P0_29);//SCK, MOSI, MOSI wait(1); Flash_Buff_WriteBytes(0, wt_buf, 7);