Go Down

Topic: Re: Led Matrix Processing, arduino control problems (Read 530 times) previous topic - next topic

AWOL

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

PaulS

Code: [Select]
 if(true)
 {
     Serial.print (0,BYTE);
     Serial.print (1,BYTE);
     Serial.print ((byte) Y1,BYTE);
     Serial.print (0,BYTE);
     Serial.print (2,BYTE);
     Serial.print ((byte) Y2,BYTE);
 }
     else
     {
   
     Serial.println (Y1);
   
     Serial.println (Y2);
   }

Under what circumstances would the else block ever be executed?

Do you have you indent value set to random?

Rilart

#2
Dec 03, 2010, 06:26 pm Last Edit: Dec 03, 2010, 06:48 pm by Rilart Reason: 1
My question is, what im doing wrong in the arduino code. The processing at the moment ia not a big deal.

Im a mediumi-noob at the programming stuff :(

PaulS

Quote
what im doing wrong in the arduino code.

The forum is not a money making operation. As a result, our crystal ball was re-possessed.

You'll need to describe the symptoms, at the very least. Otherwise, we can just say that it must be your expectations that are wrong.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy