qorf / quorum-language

The primary repository for the Quorum Programming Language
BSD 3-Clause "New" or "Revised" License
20 stars 10 forks source link

Hub, Sound, and DistanceSensor Python Libraries #112

Closed wyliez1 closed 1 month ago

wyliez1 commented 1 month ago

Implemented native Hub functions for device_uuid, hardware_id, power_off, and temperature Implemented Sound plugin (beep functionality limited to mandatory parameters only) Implemented DistanceSensor plugin with most functionality (Set() function is currently only SetAllLights() until the array parameter is added)

wyliez1 commented 1 month ago

Implemented native Hub functions for device_uuid, hardware_id, power_off, and temperature Implemented Sound plugin (beep functionality limited to mandatory parameters only) Implemented DistanceSensor plugin with most functionality (Set() function is currently only SetAllLights() until the array parameter is added)

Meant Show() instead of Set()

andreas-stefik commented 1 month ago

Wow this is excellent. Great job. One question: For the Distance Sensor, I see you can get the x/y pixel intensity, but how do you know the max value for x and y? I'm guessing there's some set of allowable values here you iterate through or something similar?