Arduino Nes controller, Please Help!

Are you trying to compile the Processing sketch in the Arduino IDE? That's exactly the error I get when I try that.

A visit to http://processing.org is in your future.

Please do not cross-post. This wastes time and resources as people attempt to answer your question on multiple threads.

Threads merged.

  • Moderator

D: sorry, i wasnt getting any responses so i expanded my search :frowning: forgive me

also, how do i fix the "BYTE" problem?(i have no clue as to what im doing)

PaulS:
Are you trying to compile the Processing sketch in the Arduino IDE? That's exactly the error I get when I try that.

A visit to http://processing.org is in your future.

I downloaded it and rand the thing through processing, but now i get

cannot find anything named "KeyEvent.VK_L"

so i have this old peice of code here, and i get an error saying "The 'BYTE' keyword is no longer supported" so what do i use instead? please help!

const int latch = 2;
const int clock = 3;
const int data  = 4;

#define latchlow digitalWrite(latch, LOW)
#define latchhigh digitalWrite(latch, HIGH)
#define clocklow digitalWrite(clock, LOW)
#define clockhigh digitalWrite(clock, HIGH)
#define dataread digitalRead(data)
#define wait delayMicroseconds(200)

byte output;

void setup() {
	Serial.begin(9600);
	pinMode(latch, OUTPUT);
        pinMode(clock, OUTPUT);
        pinMode(data, INPUT);
}

void loop() {
  output = 0;
  ReadNESjoy();
  Serial.print(output, BYTE);
}


void ReadNESjoy() {
  latchlow;
  clocklow;
  latchhigh;
  wait;
  latchlow;
  for (int i = 0; i < 8; i++) {
     clockhigh;
     wait;
     output += dataread * (1 << i);
     clocklow;
     wait;
  }
}

Topics merged.
Please don't start a new thread on the same subject.

Look up "Serial.write".

AWOL:
Topics merged.
Please don't start a new thread on the same subject.

Look up "Serial.write".

i did look it up, telling me "look up serial.write" doesnt tell me anything. i think as a moderator you could help? jeeze

and i get an answer already? so i can move on with my life? seriously why do i have to wait so long for a legit response?

Four minutes to a bump post?

"look up serial.write" doesnt tell me anything.

How am I supposed to know that?

i think as a moderator you could help?

I saved you the embarrassment of having your cross-posting reported as a violation of forum rules, didn't I?

AWOL:
Four minutes to a bump post?

"look up serial.write" doesnt tell me anything.

How am I supposed to know that?

i think as a moderator you could help?

I saved you the embarrassment of having your cross-posting reported as a violation of forum rules, didn't I?

... talk about policing, is this where i come to get help? or is it a place for forum moderators to do their job?

I'm a janitor, not a policeman.

I clean up after untidy posters.

AWOL:
I'm a janitor, not a policeman.

I clean up after untidy posters.

my post was tidy, till you guys messed it up, and how about you answer my problem so you can stop "cleaning up" the post. instead of wasting time telling me that my post is messy, invest the time into helping someone? get on my level

{SIGH}

Serial.print(output, BYTE);
Serial.write (output);

AWOL:
{SIGH}

Serial.print(output, BYTE);
Serial.write (output);

cmon im not that stupid. i already tried that.

cmon im not that stupid. i already tried that.

Must...resist...

Quite.

Here's the error message I got with that one change:

Binary sketch size: 2508 bytes (of a 14336 byte maximum)

Over to you.

AWOL:
Quite.

Here's the error message I got with that one change:

Binary sketch size: 2508 bytes (of a 14336 byte maximum)

Over to you.

well when you process it, nothing, i got no errors with processing... so...

well when you process it, nothing,

I have no idea what that means.

AWOL:

well when you process it, nothing,

I have no idea what that means.

well night, ive been trying to solve this for 8+ hours now. its 3am, bye