Open this page at https://alexwurobot.github.io/emg-filter/
This repository can be added as an extension in MakeCode.
- open https://makecode.microbit.org/
- click on New Project
- click on Extensions under the gearwheel menu
- search for https://github.com/alexwurobot/emg-filter and import
Use the emg-filter
block to read the filtered EMG data.
basic.forever(function () {
led.plotBarGraph(
EmgFilter.EmgFilter(),
1023
)
})
Demo video: https://youtu.be/gieYM_RnGLI
To edit this repository in MakeCode.
- open https://makecode.microbit.org/
- click on Import then click on Import URL
- paste https://github.com/alexwurobot/emg-filter and click import
This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.
- How to write own functino video: https://youtu.be/ztrm4XehfGo
- Return value issue solved: https://makecode.microbit.org/courses/blocks-to-javascript/writing-functions
- Update inline multi-input variable: https://makecode.com/defining-blocks