Search found 4 matches
- Mon Sep 19, 2016 12:04 pm
- Forum: micro:bit boards
- Topic: compass.calibrate()
- Replies: 4
- Views: 6089
Re: compass.calibrate()
For me the following code from the tutorial was working perfectly. from microbit import * compass.calibrate() while True: nadel = ((15 - compass.heading()) // 30) % 12 display.show(Image.ALL_CLOCKS[nadel]) When calibrate() is executed there is one led that moves while tilting the board. You have to ...
- Sun Sep 18, 2016 1:02 pm
- Forum: micro:bit boards
- Topic: Selecting the accelerometer range
- Replies: 1
- Views: 3799
Re: Selecting the accelerometer range
I think, you mean gestures that provide common gestures of movement which can be recognized by the accelerometer.
https://microbit-micropython.readthedoc ... tures.html
https://microbit-micropython.readthedoc ... tures.html
- Sun Sep 18, 2016 12:54 pm
- Forum: micro:bit boards
- Topic: compass.calibrate()
- Replies: 4
- Views: 6089
Re: compass.calibrate()
How does your code look like?
Did you try to make some debug outputs before or after the call to calibrate() - like with display.show("...").
Did you try to make some debug outputs before or after the call to calibrate() - like with display.show("...").
- Fri Sep 02, 2016 3:50 pm
- Forum: ESP8266 boards
- Topic: callback on connect
- Replies: 1
- Views: 2744
callback on connect
Hi! Is it possible to get an information when a client connects to the ESP in AP-mode. There is some debug output on the tty-Terminal. > add 1 > aid 1 > station: 40:78:XX:XX:XX:XX join, AID = 1 Is it possible to call some kind of callback handler such that I can react upon a new or a leaving client?