Go Down

Topic: who add FSR sensor to this code (Read 399 times) previous topic - next topic

alialhassany93

hi can any one help me to add FSR to this code to stop Attention servo (index)  this is my code

robtillaart

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

PaulS

Code: [Select]
int ByteRead;
It does not make sense to use a type (byte) in the name of a variable when the type in the name doesn't match the type of the variable.

Code: [Select]
return ByteRead;
So, you lied when you said the function returns a byte.

I quit reading the code after that. The indentation is just too poor for me to waste time trying to decipher. And, that is dumb, because Tools + Auto Format makes it so easy to get the indentation right.
The art of getting good answers lies in asking good questions.

gfvalvo


Go Up