I need a solution. I have a uint32_t variable say var1. I need to store current time value in this variable, and somewhere in my code i need that time in proper timing formet i.e hour minute and seconds .
is this possible?
Any other solution for storing time into absolute value and getting local time from that vale would be appreciated.
I'm not entirely sure whether you want to get a time and store it in a uint32 for later retrieval, or get the real time at any moment from a uint32.
If its the former, it's possible, for simple hours,minutes,seconds over a 24 hour range you could use a union like
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: