Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Set a pin to use as a digital input and run code when the pin pulses high or low.
The 'on Pulsed' function allows users to set a specific pin on the micro:bit as a digital input. When the pin detects a pulse, either high or low, it triggers a block of code to execute. This feature is particularly useful for creating interactive projects that respond to physical inputs, such as buttons or sensors.