Micro:bit: Wirelessly Stream Accelerometer Data to MakeCode!

Поділитися
Вставка
  • Опубліковано 16 чер 2020
  • Here's a quick intro to configuring MakeCode to display data being streamed wirelessly (via Bluetooth)!
    Here's the project that's being shown: makecode.microbit.org/_aykdWq...
  • Наука та технологія

КОМЕНТАРІ • 3

  • @makecodeandhardware1395
    @makecodeandhardware1395 3 роки тому

    This does not work for me. I have copied your above code and downloaded it to both V1.5 and V2.0 Microbit. I have used an HP Stream laptop which DOES have bluetooth. I get the message that they are paired, the laptop correctly recognizes the Microbit by name. When I click 'pair' as you did, I do not get the 'show console Device '' bubble. It only stays with the simulator bubble. Have done the whole process repeatedly. The Bluetooth console is enabled. Suggestions ?

    • @bsiever
      @bsiever  3 роки тому +2

      I just did a couple of quick tests. At first it behaved as you described: Bluetooth connected, but it didn't show data. I made a few minor changes / reprograms / reloads and it started working. Here's a slightly updated version of the project with a minor delay between each "send": makecode.microbit.org/_3yT8KAcHuho3 (My theory is that data was streaming in too fast and the PC's console couldn't keep up, so data was lost. I've experienced something like this before with other projects)

  • @bsiever
    @bsiever  4 роки тому

    Here's the project code: makecode.microbit.org/_aykdWqRK4DKb