A 4x4 capacitive touch button grid - firmware code.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LUFA @ ebc0d8b
source
tests/quality
tools
.gitignore
.gitmodules
README.md

README.md

How do I program the NoMech board?

Requirements

Software:

  • avr-gcc
  • avr-libc
  • avrdude

Hardware:

  • avrdude compatible ISP programmer

Instructions

First get the LUFA submodule.

git submodule update --init

Then edit LUFA/LUFA/Build/lufa_avrdude.mk to your preference of

AVRDUDE_PROGRAMMER 
AVRDUDE_PORT       
AVRDUDE_FLAGS      

so for example for the AVRISP MkII that is:

AVRDUDE_PROGRAMMER ?= avrisp2
AVRDUDE_PORT       ?= usb
AVRDUDE_FLAGS      ?= -B1

Then you can set the fuses, compile and upload the code.

cd source
make first
make avrdude

Protocol

The board appears as a virtual serial device (typically /dev/ttyACM0 on Linux