Skip to content

Commit

Permalink
Fixes gcormier#22 and add all fuses explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
gcormier committed Apr 4, 2020
1 parent 2e4ba49 commit 8e9bb14
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Code/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ platform = atmelavr
board = attiny841
framework = arduino
board_fuses.lfuse = 0xE2
board_fuses.efuse = 0xFE
board_fuses.hfuse = 0xD6
# -B0.5 will speed up the baud-rate.
# If you have problems flashing, remove these flags m
upload_flags =
-B0.5
8 changes: 4 additions & 4 deletions Code/src/megadesk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
// Standard arduino settings
#define HYSTERESIS 20 // 20 seems ok

#define PIN_UP 0
#define PIN_DOWN 1
#define PIN_BEEP 3
#define PIN_SERIAL 9
#define PIN_UP 10
#define PIN_DOWN 9
#define PIN_BEEP 7
#define PIN_SERIAL 1

#define BEEP_DURATION 125
#define BEEP_PAUSE 60
Expand Down

0 comments on commit 8e9bb14

Please sign in to comment.