Languages

Reply to comment

As you'll see at the end of

As you'll see at the end of the Oscilloscope.pde code, there's the Arduino code.

BTW I'd suggest you don't write your email address on websites like this: spambots are crawling the web and you'll start to get tons of spam in your mailbox. I've changed it in your comment to make it spambot-safe.

// The Arduino code.

#define ANALOG_IN 0

void setup() {
  Serial.begin(9600); 
}

void loop() {
  int val = analogRead(ANALOG_IN);
  Serial.print( 0xff, BYTE);
  Serial.print( (val >> 8) & 0xff, BYTE);
  Serial.print( val & 0xff, BYTE);
}

Reply

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Fill in the blank
By submitting this form, you accept the Mollom privacy policy.