Widget value read


#1

Hi,
need the value of a widget (e.g. button widget 0 or 1) without any action with
CAYENNE_IN(30)
{
int currentValue = getValue.asInt();
if (currentValue == 1)
{
xx
}
}
it does not work as I realized it needs as “trigger” a action of the button ?

BTW TRIGGERS are nort working with my ARDUINO UNO Ethernet …