Page 1 of 1

Can't compile Demonbite to my Arduino

Posted: Sat Mar 27, 2021 7:05 pm
by RascalUK
So, ageeees ago I put together an Arduino Pro Micro to connect a Zipstick for Amiga games. I've just come to try an use it again (so had to rewire it) and found the wiring diag for DaemonBiteArcadeEncoder so wired it up as per the diag, connected it and only the fire button works.

Anyway, tried to verify/compile/upload the Sketch from the Github but it fails giving me a

"expect class name before { 'token' in the Gamepad.h dependency. I have zero clue what I'm doing here with Arduino, so I assume it's me being an idiot?

Any help greatly appreciated.

Paul

Re: Can't compile Demonbite to my Arduino

Posted: Sun Mar 28, 2021 4:26 am
by bellwood420
Hi,

What exactly is your board and what board is selected in Tools -> Board menu?
If a board with USB HID capability(e.g. SparkFun Pro Micro) is selected, you should not get that error.

Re: Can't compile Demonbite to my Arduino

Posted: Sun Mar 28, 2021 9:08 am
by RascalUK
Yeah thanks, turns out it's me, I am indeed an idiot. Wrong board selected! Thanks! :-)