kopia lustrzana https://github.com/pimoroni/pimoroni-pico
remove description prints
rodzic
6464f44437
commit
178afd1469
|
@ -1,11 +1,11 @@
|
|||
from pimoroni_i2c import PimoroniI2C
|
||||
from breakout_encoder_wheel import BreakoutEncoderWheel
|
||||
|
||||
print("""
|
||||
"""
|
||||
A demonstration of reading the rotary dial of the Encoder Wheel breakout.
|
||||
|
||||
Press Ctrl+C to stop the program.
|
||||
""")
|
||||
"""
|
||||
|
||||
PINS_BREAKOUT_GARDEN = {"sda": 4, "scl": 5}
|
||||
PINS_PICO_EXPLORER = {"sda": 20, "scl": 21}
|
||||
|
|
|
@ -5,11 +5,11 @@ from ioexpander import PWM
|
|||
from pimoroni_i2c import PimoroniI2C
|
||||
from breakout_encoder_wheel import BreakoutEncoderWheel, CENTRE, GPIOS, NUM_GPIOS
|
||||
|
||||
print("""
|
||||
"""
|
||||
Output a sine wave PWM sequence on the Encoder Wheel's side GPIO pins.
|
||||
|
||||
Press the centre button or Ctrl+C to stop the program.
|
||||
""")
|
||||
"""
|
||||
|
||||
PINS_BREAKOUT_GARDEN = {"sda": 4, "scl": 5}
|
||||
PINS_PICO_EXPLORER = {"sda": 20, "scl": 21}
|
||||
|
|
Ładowanie…
Reference in New Issue