Search found 4 matches

by tmead
Sun Mar 21, 2021 5:59 pm
Forum: General Discussion
Topic: Basic On/Off visualisation
Replies: 4
Views: 20583

Re: Basic On/Off visualisation

And now I need to expose my poor coding skills ! This function works to toggle the relevant pin, and feeds back the checked/unchecked status just fine. void toggle(int pin, const char* msg) { //char msg2[25]; //strncat(msg2, msg, "CB"); digitalWrite(pin, !digitalRead(pin)); InterfacePanel ...
by tmead
Sun Mar 21, 2021 5:39 pm
Forum: General Discussion
Topic: Basic On/Off visualisation
Replies: 4
Views: 20583

Re: Basic On/Off visualisation

OK, I found the enabled setting, so they work as indications of status.
by tmead
Sun Mar 21, 2021 12:44 pm
Forum: General Discussion
Topic: Basic On/Off visualisation
Replies: 4
Views: 20583

Re: Basic On/Off visualisation

Check boxes are quite simple, but they allow input - unless there's a config option that means they are disply only and can't be clicked ?
by tmead
Sun Mar 21, 2021 11:07 am
Forum: General Discussion
Topic: Basic On/Off visualisation
Replies: 4
Views: 20583

Basic On/Off visualisation

As part of a simple In / Out visualisation as the first step of testing an Arduino Mega based system, I'd like to show the status of the outputs. Simplest would probbaly just be a small coloured square on screen if the output is on,and a blank square if its off. I can't see a control that does this ...