- Clone this repo into your Arduino directory
~/Documents/Arduino/hardware/
- Launch or quit and relaunch Arduino IDE
- In the top menu, go to
Tools > Board
and selectAutomaTile
- Open an example and press the checkmark to make sure it compiles
- Use an ISP of your choice and program your AutomaTiles!
If you want to work w/ this BETA library and keep the legacy library handy do the following
- Navigate to
~/Documents/Arduino/hardware
- Remove the old AutomaTiles folder (if present)
- Get the Legacy AutomaTiles library
- clone https://github.com/jbobrow/AutomaTiles
- copy the library titled
AutomaTiles Legacy
inside of theArduino
folder to~/Documents/Arduino/hardware/
- Launch or quit and relaunch Arduino IDE
- In the top menu, go to
Tools > Board
and now you should seeAutomaTile
andAutomaTile Legacy
- Use the appropriate API for each library, check by compiling
Here is a link to the API (Work in Progress)
Here is a link to a General Overview and Game Design document (Work in Progress)
The following examples are written using the AutomaTiles API for the Arduino IDE.
blink
An example to show how to blink with a duration blink(duration)
pulse
An example to show how to pulse with a duration pulse(duration)
fadeTo
An example to show how colors can transition smoothly between two colors fadeTo(r, g, b, duration)
fadeToCycle
An example to show how colors can transition smoothly between two colors fadeTo(r, g, b, duration)
setColorRGB
An example to show how to set the color w/ 3 values setColorRGB(r, g, b)