setting a byte
newLightBulb.setWattage(25);
void setWattage(byte w){
wattage=w;
}
Every time i try to do that it tells me that 25 is an int and setWattage() is in byte form. How would i go about forcing 25 to be a byte?
newLightBulb.setWattage(25);
void setWattage(byte w){
wattage=w;
}
Every time i try to do that it tells me that 25 is an int and setWattage() is in byte form. How would i go about forcing 25 to be a byte?