I cant use the Serial Monitor. Even with a simple code like this:
char val;
void setup()
{
pinMode(pn,OUTPUT);
Serial.Write(9600);
}
void loop;
{
if(val=='a')
{
do something;
}
if(val=='s')
{
do something else;
}
I open the Serial window,i put the values,pres Enter...And nothing happens..
can somebody help me?