We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9fb598b + af817b0 commit d94fb1eCopy full SHA for d94fb1e
PyLeap_Bluefruit_Tone_Piano/code.py
@@ -29,13 +29,13 @@
29
elif cp.touch_A5:
30
cp.pixels.fill((0, 255, 255))
31
cp.start_tone(392)
32
- elif cp.touch_A6 and not cp.touch_A7:
+ elif cp.touch_A6 and not cp.touch_TX:
33
cp.pixels.fill((0, 0, 255))
34
cp.start_tone(440)
35
- elif cp.touch_A7 and not cp.touch_A6:
+ elif cp.touch_TX and not cp.touch_A6:
36
cp.pixels.fill((100, 0, 255))
37
cp.start_tone(494)
38
- elif cp.touch_A6 and cp.touch_A7:
+ elif cp.touch_A6 and cp.touch_TX:
39
cp.pixels.fill((255, 0, 255))
40
cp.start_tone(523)
41
else:
0 commit comments