short butonpin = 3, role1 = 5, role2 =6, role3 = 7, role4 = 8, rolemode = 0;
void setup ()
{
Serial.begin(9600);
pinMode (butonpin , INPUT_PULLUP);
pinMode (role1 , OUTPUT);
pinMode (role2 , OUTPUT);
pinMode (role3 , OUTPUT);
pinMode (role4 , OUTPUT);
}
void loop()
{
if...