mr_robot
Posts: 1
Joined: Tue May 04, 2021 6:50 pm

Two-button functions

Tue May 04, 2021 7:03 pm

Hello,

My goal:
I have two switches connected to the board.

Switch 1.
Sets a counter to 0 and creates a dated CSV file.

Switch 2.
Each time the button is pressed, the counter increases value +1
And in the file adds a new field with the last value.

The obtained value must also be displayed on a monitor connected by HDMI.

Thank a for the help

pcmanbob
Posts: 11137
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Two-button functions

Sat May 08, 2021 8:43 am

Hi.

So what code have you written to do this ?

No one can write your entire code for you as we don't know how your switches are connected or even were you wish this file to be created.

Users he will try and help if you have a problem with code you have written if you run in to problems.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Return to “Python”