swap left and right button GPIO pins
This commit is contained in:
parent
041156f466
commit
dd12b6d6cf
|
@ -29,7 +29,7 @@ Once Python and Pygame have been installed, clone the repository, including PGFW
|
|||
Raspberry Pi
|
||||
------------
|
||||
|
||||
If running on a Raspberry Pi, it is possible to control left and right using buttons connected to the Raspberry Pi pins GPIO 23 and GPIO 24. It should work automatically as long as [RPi.GPIO](https://sourceforge.net/p/raspberry-gpio-python/wiki/Home/) is installed, which should be installed by default.
|
||||
If running on a Raspberry Pi, it is possible to control left and right using buttons connected to the Raspberry Pi pins GPIO 24 and GPIO 23. It should work automatically as long as [RPi.GPIO](https://sourceforge.net/p/raspberry-gpio-python/wiki/Home/) is installed, which should be installed by default.
|
||||
|
||||
BiTFiT is the first [Playzing](https://shampoo.ooo/playzing) compatible game. See the [Playzing builder's manual][] for detailed instructions on how to get it running.
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@ except ImportError:
|
|||
class ElectricSieve(Game):
|
||||
|
||||
# The GPIO pins corresponding to the buttons and LED indicators
|
||||
PIN_BUTTON_LEFT = 23
|
||||
PIN_BUTTON_RIGHT = 24
|
||||
PIN_BUTTON_LEFT = 24
|
||||
PIN_BUTTON_RIGHT = 23
|
||||
PIN_LED_UP = 22
|
||||
PIN_LED_DOWN = 23
|
||||
|
||||
|
|
Loading…
Reference in New Issue