OpenRoberta / openroberta-lab

The programming environment »Open Roberta Lab« by Fraunhofer IAIS enables children and adolescents to program robots. A variety of different programming blocks are provided to program motors and sensors of the robot. Open Roberta Lab uses an approach of graphical programming so that beginners can seamlessly start coding. As a cloud-based application, the platform can be used without prior installation of specific software but runs in any popular browser, independent of operating system and device.
Apache License 2.0
123 stars 119 forks source link

Calliope Mini: No separated blocks for analog and digital pin operations #1363

Closed MarkusBordihn closed 1 year ago

MarkusBordihn commented 2 years ago

Describe the bug Inside the robot configuration the digital and analog sensors and actors are separated, which makes sense because not all ports/pins supports analog or digital signals.

image

But the corresponding building blocks like write digital and write analog are not separated. This creates confusions and makes it hard to document the single steps.

image

To Reproduce Simple example for adding a digital read block you have to perform the following steps:

The similar steps are needed for pulse time HIGH or pulse time LOW which are normally only available for digital pins.

Expected behavior I would expect that analog and digital blocks are separated the same way like for the robot configuration to avoid any confusions for the user and to make it easier for the user to find the correct block for their use-case.

It's hard to explain why a kid needs first to move a analog block to their program and change it to digital later or the other way around.

For this reason my request is to create separate blocks for analog and digital actors and sensors.

rbudde commented 2 years ago

the same argument applies for micro:bit and arduinos, nano33ble and sensebox

rbudde commented 2 years ago

done for the robots/embedded systems ardu, nano33bl3, sensebox, calliope, microbit. Will be deployed end of this week.