micrOSDevToolKit 2.9.7__py3-none-any.whl → 2.9.9__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.

Potentially problematic release.


This version of micrOSDevToolKit might be problematic. Click here for more details.

Files changed (87) hide show
  1. micrOS/release_info/micrOS_ReleaseInfo/system_analysis_sum.json +12 -12
  2. micrOS/source/Espnow.py +89 -56
  3. micrOS/source/LM_L298N_DCmotor.py +4 -4
  4. micrOS/source/LM_L9110_DCmotor.py +3 -3
  5. micrOS/source/LM_VL53L0X.py +2 -2
  6. micrOS/source/LM_aht10.py +2 -2
  7. micrOS/source/LM_bme280.py +2 -2
  8. micrOS/source/LM_buzzer.py +12 -15
  9. micrOS/source/LM_cct.py +10 -13
  10. micrOS/source/LM_co2.py +3 -3
  11. micrOS/source/LM_dht11.py +2 -2
  12. micrOS/source/LM_dht22.py +2 -2
  13. micrOS/source/LM_dimmer.py +2 -2
  14. micrOS/source/LM_distance.py +3 -3
  15. micrOS/source/LM_ds18.py +2 -2
  16. micrOS/source/LM_genIO.py +52 -37
  17. micrOS/source/LM_haptic.py +2 -2
  18. micrOS/source/LM_i2c.py +2 -2
  19. micrOS/source/LM_i2s_mic.py +5 -5
  20. micrOS/source/LM_keychain.py +2 -2
  21. micrOS/source/LM_ld2410.py +2 -2
  22. micrOS/source/LM_light_sensor.py +2 -2
  23. micrOS/source/LM_neopixel.py +9 -12
  24. micrOS/source/LM_oled.py +2 -2
  25. micrOS/source/LM_oled_sh1106.py +3 -3
  26. micrOS/source/LM_oled_ui.py +2 -2
  27. micrOS/source/LM_ph_sensor.py +3 -3
  28. micrOS/source/LM_presence.py +2 -2
  29. micrOS/source/LM_rencoder.py +2 -2
  30. micrOS/source/LM_rgb.py +15 -22
  31. micrOS/source/LM_servo.py +3 -3
  32. micrOS/source/LM_stepper.py +5 -5
  33. micrOS/source/LM_switch.py +5 -5
  34. micrOS/source/LM_trackball.py +3 -3
  35. micrOS/source/LM_veml7700.py +2 -2
  36. micrOS/source/Shell.py +1 -1
  37. micrOS/source/microIO.py +27 -9
  38. micrOS/source/urequests.py +6 -1
  39. {micrOSDevToolKit-2.9.7.dist-info → micrOSDevToolKit-2.9.9.dist-info}/METADATA +1 -1
  40. {micrOSDevToolKit-2.9.7.dist-info → micrOSDevToolKit-2.9.9.dist-info}/RECORD +86 -87
  41. toolkit/DevEnvUSB.py +6 -5
  42. toolkit/dashboard_apps/BackupRestore.py +0 -4
  43. toolkit/dashboard_apps/SystemTest.py +1 -1
  44. toolkit/dashboard_apps/uLightDemo.py +1 -1
  45. toolkit/lib/micrOSClient.py +5 -2
  46. toolkit/workspace/precompiled/Espnow.mpy +0 -0
  47. toolkit/workspace/precompiled/LM_L298N_DCmotor.mpy +0 -0
  48. toolkit/workspace/precompiled/LM_L9110_DCmotor.py +3 -3
  49. toolkit/workspace/precompiled/LM_VL53L0X.py +2 -2
  50. toolkit/workspace/precompiled/LM_aht10.mpy +0 -0
  51. toolkit/workspace/precompiled/LM_bme280.mpy +0 -0
  52. toolkit/workspace/precompiled/LM_buzzer.mpy +0 -0
  53. toolkit/workspace/precompiled/LM_cct.mpy +0 -0
  54. toolkit/workspace/precompiled/LM_co2.mpy +0 -0
  55. toolkit/workspace/precompiled/LM_dht11.mpy +0 -0
  56. toolkit/workspace/precompiled/LM_dht22.mpy +0 -0
  57. toolkit/workspace/precompiled/LM_dimmer.mpy +0 -0
  58. toolkit/workspace/precompiled/LM_distance.mpy +0 -0
  59. toolkit/workspace/precompiled/LM_ds18.mpy +0 -0
  60. toolkit/workspace/precompiled/LM_genIO.mpy +0 -0
  61. toolkit/workspace/precompiled/LM_haptic.mpy +0 -0
  62. toolkit/workspace/precompiled/LM_i2c.py +2 -2
  63. toolkit/workspace/precompiled/LM_i2s_mic.mpy +0 -0
  64. toolkit/workspace/precompiled/LM_keychain.mpy +0 -0
  65. toolkit/workspace/precompiled/LM_ld2410.mpy +0 -0
  66. toolkit/workspace/precompiled/LM_light_sensor.mpy +0 -0
  67. toolkit/workspace/precompiled/LM_neopixel.mpy +0 -0
  68. toolkit/workspace/precompiled/LM_oled.mpy +0 -0
  69. toolkit/workspace/precompiled/LM_oled_sh1106.mpy +0 -0
  70. toolkit/workspace/precompiled/LM_oled_ui.mpy +0 -0
  71. toolkit/workspace/precompiled/LM_ph_sensor.py +3 -3
  72. toolkit/workspace/precompiled/LM_presence.mpy +0 -0
  73. toolkit/workspace/precompiled/LM_rencoder.py +2 -2
  74. toolkit/workspace/precompiled/LM_rgb.mpy +0 -0
  75. toolkit/workspace/precompiled/LM_servo.mpy +0 -0
  76. toolkit/workspace/precompiled/LM_stepper.mpy +0 -0
  77. toolkit/workspace/precompiled/LM_switch.mpy +0 -0
  78. toolkit/workspace/precompiled/LM_trackball.mpy +0 -0
  79. toolkit/workspace/precompiled/LM_veml7700.mpy +0 -0
  80. toolkit/workspace/precompiled/Shell.mpy +0 -0
  81. toolkit/workspace/precompiled/microIO.mpy +0 -0
  82. toolkit/workspace/precompiled/urequests.mpy +0 -0
  83. toolkit/workspace/precompiled/node_config.json +0 -1
  84. {micrOSDevToolKit-2.9.7.data → micrOSDevToolKit-2.9.9.data}/scripts/devToolKit.py +0 -0
  85. {micrOSDevToolKit-2.9.7.dist-info → micrOSDevToolKit-2.9.9.dist-info}/LICENSE +0 -0
  86. {micrOSDevToolKit-2.9.7.dist-info → micrOSDevToolKit-2.9.9.dist-info}/WHEEL +0 -0
  87. {micrOSDevToolKit-2.9.7.dist-info → micrOSDevToolKit-2.9.9.dist-info}/top_level.txt +0 -0
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  from time import sleep
2
- from microIO import resolve_pin, pinmap_search
2
+ from microIO import bind_pin, pinmap_search
3
3
  from Common import SmartADC
4
4
 
5
5
  """
@@ -12,7 +12,7 @@ ADC.ATTN_11DB — the full range voltage: 3.3V
12
12
 
13
13
 
14
14
  def __measure(samples=10):
15
- adc_obj = SmartADC.get_instance(resolve_pin('ph'))
15
+ adc_obj = SmartADC.get_instance(bind_pin('ph'))
16
16
  mbuf = 0
17
17
  for k in range(0, samples):
18
18
  mbuf += adc_obj.get()['volt']
@@ -22,7 +22,7 @@ def __measure(samples=10):
22
22
 
23
23
 
24
24
  def measure():
25
- data = SmartADC.get_instance(resolve_pin('ph')).get()
25
+ data = SmartADC.get_instance(bind_pin('ph')).get()
26
26
  return "ADC data: {}\nAVG V: {}".format(data, __measure())
27
27
 
28
28
 
@@ -1,7 +1,7 @@
1
1
  from machine import Pin
2
2
  import micropython
3
3
  from Common import socket_stream, syslog
4
- from microIO import resolve_pin, pinmap_search
4
+ from microIO import bind_pin, pinmap_search
5
5
  from Types import resolve
6
6
 
7
7
  # https://www.coderdojotc.org/micropython/sensors/10-rotary-encoder/
@@ -76,7 +76,7 @@ def load(min_val=0, max_val=20):
76
76
  """
77
77
  if Data.ROTARY_OBJ is None:
78
78
  # GPIO Pins 33 and 35 are for the encoder pins.
79
- Data.ROTARY_OBJ = Rotary(resolve_pin('rot_dt'), resolve_pin('rot_clk'))
79
+ Data.ROTARY_OBJ = Rotary(bind_pin('rot_dt'), bind_pin('rot_clk'))
80
80
  Data.MIN_VAL = min_val
81
81
  Data.MAX_VAL = max_val
82
82
  Data.VAL = min_val
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- {"irq2": false, "irq2_cbf": "n/a", "irq3_cbf": "n/a", "timirq": true, "irq4": false, "auth": false, "irq4_cbf": "n/a", "devip": "10.0.1.129", "soctout": 100, "appwd": "ADmin123", "timirqcbf": "rgb run_transition", "timirqseq": 800, "hwuid": "micr8caab594e9d4OS", "staessid": "T-3588F3;elektroncsakpozitivan_2G", "irq1_cbf": "rgb toggle", "cron": true, "irq4_trig": "n/a", "nwmd": "STA", "boothook": "rgb load_n_init", "version": "1.41.0-0", "irq_prell_ms": 300, "crontasks": "sunrise!rgb set_transition 400 0 0 3600;sunset!rgb run_transition 143 330 0 300;*:9:0:0!rgb set_transition 0 300 300 1800;*:12:0:0!rgb toggle False;*:20:0:0!rgb set_transition 600 211 2 3600;*:21:2:0!rgb rgb 100 30 0;*:23:0:0!rgb toggle False", "aioqueue": 3, "utc": 60, "boostmd": true, "irq1_trig": "n/a", "guimeta": "...", "socport": 9008, "webui": true, "cstmpmap": "n/a", "telegram": "n/a", "irq3_trig": "n/a", "dbg": true, "irq2_trig": "n/a", "irq3": false, "devfid": "ujelet", "stapwd": "jBRU7SJmreae8n5p;BNM3,1415", "irq1": false}