Toggling GPIO pin state


Toggling the pin state turned out to be less of a challenge then I thought.
I wasn't sure on the 'read' since you are setting GPIO as OUT in initgpio but it does work.
I simply set a variable to the GPIO read, which will return a 1 or 0 and do the opposite of that state.
-6.1193329,39.1580149,06-24-2019 08:42:57 PM,!Picking Pateunias