But on Arduino I would be careful about how many enums I make since they do take up RAM.
One way to make enums use 1 byte instead of default int,
enum Color: byte
{
RED, GREEN, BLUE
};
But on Arduino I would be careful about how many enums I make since they do take up RAM.
One way to make enums use 1 byte instead of default int,
enum Color: byte
{
RED, GREEN, BLUE
};