https://github.com/bertrandmartel/newhaven-oled-dk51
Integration of NewHaven OLED 1.69 display on Nordic Semiconductor NRF51 DK board
https://github.com/bertrandmartel/newhaven-oled-dk51
dk51 nrf51822 oled-display
Last synced: 22 days ago
JSON representation
Integration of NewHaven OLED 1.69 display on Nordic Semiconductor NRF51 DK board
- Host: GitHub
- URL: https://github.com/bertrandmartel/newhaven-oled-dk51
- Owner: bertrandmartel
- License: mit
- Created: 2016-03-31T16:38:27.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-12T12:00:21.000Z (over 9 years ago)
- Last Synced: 2025-02-22T21:43:19.876Z (over 1 year ago)
- Topics: dk51, nrf51822, oled-display
- Language: C
- Homepage:
- Size: 333 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# NewHaven OLED 1.69 display on NRF51 board
[](https://travis-ci.org/bertrandmartel/newhaven-oled-dk51)
Integration of NewHaven OLED 1.69 display on Nordic Semiconductor NRF51 DK board

Based on project : https://github.com/NewhavenDisplay/NHD-1.69-160128ASC3_Example
## Scope
* SPI communication between NRF51 board & display
* fill screen with specified color
* buttons 3 & 4 on NRF51 DK board switch through a sequence of color/image
* draw 160x128 bitmap (a 24 bit bitmap image input will give an image with 3x6 bit/pixel)
## Configuration
* armgcc toolchain
* no softdevice flash required
* nRF5 SDK 11.0.0
## Setup/Installation
* follow SDK/Toolchain Installation steps section of this tutorial
* specify NRF51 SDK directory with :
```
export NRF51_SDK_DIR=/path/to/sdk
```
## Build
```
make
```
## Upload
```
//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
## License
The MIT License (MIT) Copyright (c) 2016 Bertrand Martel