Read led status

Hi all,
I’ve connected the led to the digital port 4 and I can set it on and off (RPI2+GrovePI+GroveLED). I would like to read the current led status if it is possible.
Thanks a lot!

It won;t be possible to read the state of the LED from the GrovePi. But since you are using a python program on the Raspberry Pi to control the state of the LED, you can keep a variable in the program to save the state locally.


Hey Karan,
Thanks for the info and for the suggestion.
This is what I implemented and I was hoping that I’ll get a better handling in the case the status is available.
Best regards,