====== **Setting up IOIO for the demo board** ======
====== Use this guide to get started with the dev environment ======
https://github.com/ytai/ioio/wiki/IOIO-Developer-Getting-Started-Guide
My github of this is here
[[https://github.com/charlie-x/ioio]]
Make sure C30 is installed too..
In MPLab X Load the projects Like so
{{:ioio_7.png}}
change your programmer here.
{{:ioio_3.png}}
{{:ioio_4.png}}
{{:ioio_5.png}}
{{:ioio_6.png}}
{{:ioio_1.png}}
the change board.h as shown
#define led_init() { _ODB7 = 1; _LATB7 = 1; _TRISB7 = 0; }
#define led_read() _RB7
#define led _LATB7
#define led_on() led = 0;
#define led_off() led = 1;
#define led_toggle() led = !led;
#define pin1_pullup _CN24PUE
#define pin1_read() _RB6
Change platform.h like so
{{:ioio_2.png}}
#elif HARDWARE == HARDWARE_IOIO0004
#define led_init() do { _ODG7 = 1; _LATG7 = 1; _TRISG7 = 0; } while (0)
#define led_on() do { _LATG7 = 0; } while (0)
#define led_off() do { _LATG7 = 1; } while (0)
#else
Build and Flash DeviceBootloader ground RP3 and power up, then remove short from RP3 and add LED instead. It'll work the same as the instructions for the IOIO now, using ioiodude.