simonmonk / programming_arduino

Code for the book Programming Arduino: Getting Started with Sketches
79 stars 100 forks source link

Updated Bounce, fixed PROGMEM #1

Open Brideau opened 9 years ago

Brideau commented 9 years ago

Looks like there's been significant changes to how you write to PROGMEM, so your code no longer compiles in the new IDEs. I fixed the syntax and it seems to work now.

There's also a new version of Bounce - Bounce2. The syntax is different from what's in your book, but it might be handy to include so that people understand how to use the new library.