File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 22
33setup (
44 name = "neopia" ,
5- version = "0.1.6 " ,
5+ version = "0.2.0 " ,
66 author = "RoboticsWare" ,
7788 description = "Python library for Neopia neobot" ,
Original file line number Diff line number Diff line change 3131# wait(500)
3232# n.motor_move('backward')
3333# wait(500)
34- # n.motor_move('stop')
3534
3635# case6) Moving control by direction keys on the keyboard
3736# while True:
5352# wait(500)
5453# n.motor_rotate('both', 'backward', '30')
5554# wait(500)
56- # n.motor_stop('both')
5755
5856
5957## Buzzer, Distance sensor
6058# case8) Play same note by pitch, sharp and flat, and a length of note
6159# n.buzzer('3', n.NOTE_NAME_C)
6260# n.buzzer('3', 'c')
63-
61+ #
6462# n.buzzer('4', n.NOTE_NAME_C_SHARP, '8')
6563# n.buzzer('4', 'c#', '8')
66-
64+ #
6765# n.buzzer('5', n.NOTE_NAME_D_FLAT, '16')
6866# n.buzzer('5', 'db', '16')
6967
8482# n.led_off('out1')
8583
8684
87- # Servo Motor
85+ ## Servo Motor
8886# case 11) Rotate servo motor forth and back with speed 50% during 5s and stop
8987# n.servo_rotate('out2', 'forward', '50')
9088# wait(2000)
You can’t perform that action at this time.
0 commit comments