Skip to content

Commit a570f4c

Browse files
committed
version up to 0.2.0
1 parent 110ba82 commit a570f4c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="neopia",
5-
version="0.1.6",
5+
version="0.2.0",
66
author="RoboticsWare",
77
author_email="[email protected]",
88
description="Python library for Neopia neobot",

test/test.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
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:
@@ -53,17 +52,16 @@
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

@@ -84,7 +82,7 @@
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)

0 commit comments

Comments
 (0)