Pages: [1]   Go Down
Author Topic: "Binary sketch size:" message  (Read 878 times)
0 Members and 1 Guest are viewing this topic.
Puerto Rico
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I am receiving the following message when try to run my program:

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

The board and the serial com are correct.  I just want to perform a test with my ardduino Diecimila using the following code:

Code:
/*
  AnalogReadSerial
 Reads an analog input on pin 0, prints the result to the serial monitor
 
 This example code is in the public domain.
 */

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

void loop() {
  int sensorValue = analogRead(A5);
  Serial.println(sensorValue);
}





My expactation is to receive the analog value from the analog ping.  What I am missing?  My computer has Windows 7 / 64.

Regards;
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 9
Posts: 1991
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That message is normal when you upload the sketch to the arduino (or compile the sketch).  When you've done that you need to start the Serial monitor (at 9600 baud)  to see the output of the sketch.
Logged


Pages: [1]   Go Up
Jump to: