smartpi 0.1.32__py3-none-any.whl → 0.1.34__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
smartpi/__init__.py CHANGED
@@ -4,5 +4,5 @@ from .base_driver import P1, P2, P3, P4, P5, P6, M1, M2, M3, M4, M5, M6
4
4
  __all__ = ["base_driver","gui","ultrasonic","touch_sensor","temperature","humidity","light_sensor","color_sensor","motor","servo","led","flash",
5
5
  "P1", "P2", "P3", "P4", "P5", "P6", "M1", "M2", "M3", "M4", "M5", "M6"]
6
6
 
7
- __version__ = "0.1.32"
7
+ __version__ = "0.1.34"
8
8
 
smartpi/servo.py CHANGED
@@ -49,6 +49,7 @@ def set_angle_speed(port:bytes,angle:bytes,speed:bytes) -> Optional[bytes]:
49
49
  servo_str[5]=angle%256
50
50
  servo_str[7]=speed
51
51
  #response = base_driver.single_operate_sensor(servo_str,0)
52
+ time.sleep(0.005)
52
53
  base_driver.write_data(0X01, 0X02, servo_str)
53
54
  # if response == None:
54
55
  # return None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smartpi
3
- Version: 0.1.32
3
+ Version: 0.1.34
4
4
  Summary: A library use for H2-RCU
5
5
  Author: ZMROBO
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,4 +1,4 @@
1
- smartpi/__init__.py,sha256=lUBmDOfuGaZ59JU3nE42ao8-9nV_D5vheF1X7Dq400k,356
1
+ smartpi/__init__.py,sha256=ezLA647rfQ9QqjycJlgQhprLoRFWSnEO7MOlflsklaM,356
2
2
  smartpi/_gui.py,sha256=ij-6HZAEIwdy_hvU7f0NkyQjx_-eephijlKbGUhf8Uo,2177
3
3
  smartpi/base_driver.py,sha256=WtRBSkjcOHikU402lU1cBSVlRHhyWGZMll_zffg2F2U,20609
4
4
  smartpi/color_sensor.py,sha256=YXJjknYjp7teTZsHYZRAWgi73CH0MhBp1go9y0Inxyo,498
@@ -9,12 +9,12 @@ smartpi/led.py,sha256=HXebd7mRO6HUjO2Xc2LBgJlAew0-IAAKpvcmVRhdGcA,594
9
9
  smartpi/light_sensor.py,sha256=oG6hHr1Tb9Xcv-Y-OjhkED5DS1u82F-kduHKAiM3B5Q,2256
10
10
  smartpi/motor.py,sha256=HTH0JqZ0d8D2HRdQ6UT9wwqBkyqErq6QaMuS_ZsDq9A,5144
11
11
  smartpi/move.py,sha256=mYw5li1qQe97845cqclMksuaKOL9n_0E0n9652EIMcI,6046
12
- smartpi/servo.py,sha256=XbI2pc-nejhh1QewE2liaiyoP01BWf2M2x7gwFcUTfI,5514
12
+ smartpi/servo.py,sha256=2KYMjjF72cTTq2RtPTDlVwIj7i5tMMGeXzKnk8SLdbE,5540
13
13
  smartpi/temperature.py,sha256=VT79CYA41q1d_4AM-Y0eIMeIw7AtCkSXjWVws6Yx5yE,462
14
14
  smartpi/touch_sensor.py,sha256=P57RRQlqY0KexpMi-ydqwF5albOKCBOGb0Rb6zeVTqk,440
15
15
  smartpi/trace.py,sha256=tut7BMbq87ShaR5eNuv7PZtAEz9DS5_BDf0_muIZ-tQ,4577
16
16
  smartpi/ultrasonic.py,sha256=kmVpUfvE1oHoqgv92ZU6Fi-sO6DSwm10ssKsImNeOkY,624
17
- smartpi-0.1.32.dist-info/METADATA,sha256=YBHCXdnPlErDsEQmhqsrXSD6g2Jen0OT9ZKV8san8gw,399
18
- smartpi-0.1.32.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
19
- smartpi-0.1.32.dist-info/top_level.txt,sha256=PoLhUCmWAiQUg5UeN2fS-Y1iQyBbF2rdUlizXtpHGRQ,8
20
- smartpi-0.1.32.dist-info/RECORD,,
17
+ smartpi-0.1.34.dist-info/METADATA,sha256=v0qlefo-v66aK6_3cxWr57MOAMlaEzWGajiEH5OcAzI,399
18
+ smartpi-0.1.34.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
19
+ smartpi-0.1.34.dist-info/top_level.txt,sha256=PoLhUCmWAiQUg5UeN2fS-Y1iQyBbF2rdUlizXtpHGRQ,8
20
+ smartpi-0.1.34.dist-info/RECORD,,