-
Notifications
You must be signed in to change notification settings - Fork 72
Description
Do you have any code examples to manage several peripherals without disturbing them?
For instance, if we want to use 2 to 4 wheels (pwm output + quadrature decoder inputs), an ultrasonic distance sensor (echo-trigger), a line-follower (reflected light) add-on, and a 7-segment or matrix-led display (shift-registers) to represent data, plus a remote ble or uart-wifi gamepad ... I mean elements that are time-dependent on their process.
Do you know what the limit on elements we can attach to the v1 micro:bit board is?
Is available a possibility to access interrupts, so we can move from the main code to the peripherals processing code?
Last, do you know which sample and hold we could achieve coding with dal, to measure input values, without losing data, or delaying other parts of the model we build with micro:bit v1 arm processor and some expansion boards?
In these examples, could you please explain how to organize the code in files, compile and send into micro:bit board, plus the manner to debug it?
Regards
Salva.