Revision f945a1fe
Added by dsorber about 13 years ago
| 525.743/code/rpi_client.py | ||
|---|---|---|
|
def button_isr(gpio_id, val):
|
||
|
global CURRENT_IDX
|
||
|
global SENSORS
|
||
|
global DEBUG
|
||
|
|
||
|
# Turn off previous sensor indicator LED
|
||
|
SENSORS[CURRENT_IDX].led.off()
|
||
Fixing a global variable bug in RPi client.