Skip to content

Board Compatibility

Vincent Ferrara edited this page Jul 24, 2017 · 3 revisions

Arduino Uno

This library was initially built for a 16MHz Arduino Uno Rev3. When initializing the GC_Controller object, you can specify UNO as the second argument if you are using an Arduino Uno. You can also leave the argument blank, as UNO is the default.

For the pin number, you can use any pin from pin 0-7. The library could be modified to support other pins, but right now that is not supported.

Arduino Mega

I had to modify some of the timings to make the library work on my Mega. You can specify MEGA in the second argument of the constructor if you are using this. However, my Mega board is an off-brand board, and so it is possible that this is the only reason the timings were slightly off. Feel free to try both keywords and see what works. Also, the GCReader test software does not work on my board, but I also blame this on the board being off-brand with a malfunctioning serial port.

This will work with pins 18-21 on a Mega board.

Other Boards

It is likely that this library will only work on 16MHz boards. Beyond that, I'm not entirely sure. Feel free to experiment with your board to see what works.

The pins that will work are whichever pins are connected to the PORTD register. You can specify 0-7 in the port number for which bit in the register the pin is connected to.

Clone this wiki locally