I am trying to add or subtract 1 from a byte variable. I can confirm that the value i am using will exactly range between 0 to 15 so I am using byte. But when i was testing out the code in java i had to explicitly convert like
byte a=7;
a=(byte)(a-1);
But do i have to do it in arduino too? Altought doing that doesnt show any error, I am concerned it might cause a run time error. Any help would be appreciated.