| http://www.w3.org/ns/prov#value | - Code: [Select]if (a == '1'){ (a++); if(a=2) { a = 0; }}There are a few things wrong with this part aside from the previously mentioned errors with the if statement. '1' and 1 are the not the same as far as the micro controller goes, so it would be best not to mix them like you have done here.
|