Re: function is not being called
quote
code: [select]pinmode(a1, input);
i suspect problem. i don't think supposed use pinmode() analog pins. this function call takes arduino pin 1, serial transmit data line, , makes input, won't output serial port afterwards.
take out function call , see if works better.
-j
"if(calcount = 0)" doesn't mean checking if calcount , 0 same number. apply number 0 calcount. , far know makes statement false because calcount 0 , false.
what should this:
if(calcount == 0)
this check if calcount zero, want do.
/have great day,
fredrik andersson
what should this:
if(calcount == 0)
this check if calcount zero, want do.
/have great day,
fredrik andersson
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Re: function is not being called
arduino
Comments
Post a Comment