Hai ,
I am new to Arduino world....
I need a small help that is i want write a code for digital input and analog output using digital read and analog write...
I am doing a small project for that i need to get input from pir sensor and give output to dcmotor in analog values..can anyone help me...please
Arduino mega2560
== is the equality comparison operator, = is the assignment operator, be careful not to confuse them
again...
Note that if you have compiler warnings turned on in your preferences and read the warnings a lot
of issues like this will be spotted automatically (although many compiler messages are rather hard
to understand at first)