Fyvve
Member
The copy and paste didnt come out too well but i think its intact enough to answer my question. Can someone please tell me what programming language this is? Anyone know of a good website to get help with this sort of stuff?
void main()
{
signed int8 out_data[3];
set_tris_a(0x01); // PortA outputs except for NES_DATA (RA0)
setup_timer_1(T1_INTERNAL); // Scan the NES controller
usb_init(); // Initialize USB subsystem
setup_wdt(WDT_ON);
Edit: Took out a bunch of the code so this is easier to read.
void main()
{
signed int8 out_data[3];
set_tris_a(0x01); // PortA outputs except for NES_DATA (RA0)
setup_timer_1(T1_INTERNAL); // Scan the NES controller
usb_init(); // Initialize USB subsystem
setup_wdt(WDT_ON);
Edit: Took out a bunch of the code so this is easier to read.