Files
Last update 1 year 11 months
by Stephen Crane
| Filestinysensor | |
|---|---|
| .. | |
| optiboot | |
| .gitignore | |
| Makefile | |
| README.md | |
| batt.csv | |
| boards.local.txt | |
| tinysensor.h | |
| tinysensor.ino | |
| wdt.cpp | |
| wdt.h |
README.mdAdd the "tinysensor" board definition and bootloaders to the ATTinyCore:
$ make initBuild the "tinysensor" sketch:
$ make upload term $ make NODE_ID=5 uploadTo generate the bootloader file, apply "optiboot/optiboot.patch" to the optiboot source tree:
$ patch < optiboot.patch $ ENV=arduino make attiny84 BAUDRATE=19200 AVRFREQ=8000000LThis will create a file
optiboot_attiny84.hexfor a chip clocked at 8MHz.For a 1MHz part:
$ ENV=arduino make attiny84 BAUDRATE=9600 AVRFREQ=1000000L