examples - marcosassis/gamepaduino GitHub Wiki
some examples [of choices] using examples [of minimalist codes] =]
for all examples, download and install (unzip into arduino install directory /libraries):
gamepad
and then reopen arduino, examples -> gamepad -> __ <-
must be 16MHz necessarily, and compatible with AVR assembly instructions used
examples: (click to expand)
-
[sparkfun] pro micro
board (it's "almost an arduino"): version: 16MHz 5V -
to be tested with
gamepad
library:-
arduino pro mini
board (this is ""official"" arduino): also version: 16MHz 5V- this also seems to be compatible
- (must be, before i have pro micro, i used other codes in mine and worked, i based this interface on these)
-
uno
,mega
, whatever -
ATtiny85
it's a really charming TODO option and sure it'll be done - (i have to test)
-
#include "N64_gamepad_usb_single.h"
const uint8_t N64_PIN = 3;
N64_hid p1(1, N64_PIN);
void setup() {}
void loop() {
p1.read();
}
as minimalist as this can be (3 commands necessary: 1 include, 1 object creation, 1 read command read in loop)
this IS a N64_gamepad
USB HID
-joystick_adapter
, i.e. a device that you programmed to command and read N64 controller
- arduino
leonardo
board (this is ""official"" arduino) too seems to be compatible- does any friend would like to test this??
- look at