Integration of Adafruit OLED ST7735 1.8 display on Nordic Semiconductor NRF51 DK board
- SPI communication between NRF51 board & display
- fill screen with specified color
- joystick (5 actions) switch through a sequence of color/image
- draw 128x160 bitmap 16 bit
- armgcc toolchain
- no softdevice flash required
- nRF5 SDK 12.3.0
-
follow SDK/Toolchain Installation steps section of this tutorial
-
specify NRF51 SDK directory with :
export NRF51_SDK_DIR=/path/to/sdk
make
//erase firmware
nrfjprog --family nRF51 -e
//upload firmware
nrfjprog --family nRF51 --program _build/nrf51422_xxac.hex
//start firmware
nrfjprog --family nRF51 -r
or
./upload.sh
To debug your code : check this link
- https://github.com/NordicSemiconductor/nrf51-ADC-examples
- https://github.com/adafruit/Adafruit-ST7735-Library
- https://github.com/NordicSemiconductor/nrf51-ble-app-lbs
- Nordic Semicondictor NRF51 SDK SPI sample code
- https://github.com/bertrandmartel/spi-master-slave-dk51
The MIT License (MIT) Copyright (c) 2020 Bertrand Martel