Toggle an LED on a Raspberry Pi with 2-way communication