Skip to content

alexiob/sample_scenic_driver_waveshare

Repository files navigation

Sample for scenic_driver_waveshare

A sample application for using the Scenic Driver for the 128x128, 1.44inch LCD display HAT for Raspberry Pi from Waveshare.

Getting it running on the host

You have to run this with no-halt in dev or it will just blink past and close down.

export MIX_ENV=host
mix deps.get
mix run --no-halt

Getting it onto hardware

To start your Nerves app:

  • export MIX_TARGET=<TARGET> or prefix every command with MIX_TARGET=<TARGET>. For example, MIX_TARGET=rpi0
  • Install dependencies with mix deps.get
  • Create firmware with mix firmware
  • Burn to an SD card with mix firmware.burn
  • Any subsequent updates can use mix firmware.gen.script and ./upload.sh (already provided in the repo)

Learn more

About

Sample for scenic_driver_waveshare

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published