Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pins and leds are acting weird #95

Open
justdie386 opened this issue Sep 11, 2022 · 1 comment
Open

pins and leds are acting weird #95

justdie386 opened this issue Sep 11, 2022 · 1 comment

Comments

@justdie386
Copy link

justdie386 commented Sep 11, 2022

Well i have been trying to use the example with the buttons, it works and ect, but when i tried to change which lights get opened, i realised it made no sense, lets say 1 is at the bottom right, well 2 would at a whole other random place across the microbit, so i want to ask, are there any specific paterns? idk how to explain but is there something that explains how exactly it works? because i tried to find a patern for ~2h, maybe im terrible, as i just started rust but gawd damn i didn't found no nothing. thanks

@therealprof
Copy link
Contributor

The LEDs are not connected straight but in a matrix so to light up one LED you have to properly set the 2 pins which intersect (and those are different between different versions of the hardware, too). Cf. https://tech.microbit.org/hardware/schematic/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants