Search found 166 matches
- Thu May 16, 2019 3:19 pm
- Forum: General Discussion and Questions
- Topic: Timer with micro:bit? [SOLVED]
- Replies: 3
- Views: 2021
Re: Timer with micro:bit? [SOLVED]
I have a clock class which updates the number of seconds kind of asynchronously. See clock.py in this repo
- Thu May 16, 2019 3:13 pm
- Forum: General Discussion and Questions
- Topic: How to send with radio a numerical value of a variable? [SOLVED]
- Replies: 5
- Views: 1414
Re: How to send with radio a numerical value of a variable? [SOLVED]
ustruct is a available for microbit its just the documentation got lost from one version to the next. There's an outstanding issue on github to resolve this.
- Thu May 16, 2019 2:41 am
- Forum: MicroPython pyboard
- Topic: error 22 save file pyboard
- Replies: 4
- Views: 1092
- Fri May 10, 2019 9:59 am
- Forum: MicroPython pyboard
- Topic: The USR switch
- Replies: 2
- Views: 939
The USR switch
Is the USR switch on the pyboard debounced electronically or in the software (micropython)
- Wed May 08, 2019 10:44 pm
- Forum: ESP8266 boards
- Topic: Esp8266 in the post
- Replies: 2
- Views: 742
Esp8266 in the post
I thought at that price (£2.60) how can i go wrong?
The issue is my seller isn't offering much tech support.
How do i determine the size of the flash on my new board when it arrives?
The issue is my seller isn't offering much tech support.
How do i determine the size of the flash on my new board when it arrives?
- Fri Apr 26, 2019 6:38 am
- Forum: MicroPython pyboard
- Topic: Does the compiler omit code that will never execute?
- Replies: 2
- Views: 849
Does the compiler omit code that will never execute?
Code: Select all
import pyb
DEBUG = const(0)
# some code
if DEBUG:
print("debug info")
- Thu Apr 25, 2019 2:44 am
- Forum: MicroPython pyboard
- Topic: Debug code with pyCharm
- Replies: 2
- Views: 1283
Re: Debug code with pyCharm
I use any editor. Usually emacs terminal or xed. To copy my code to the pyboard i have a flash script or i use rshell. To debug i use serial terminal screen to host a REPL prompt. I think you can use pyboard.py to "run a program on your laptop" and monitor the output that way The editor mu has been ...
- Wed Apr 24, 2019 8:51 am
- Forum: MicroPython pyboard
- Topic: Accelerometer
- Replies: 4
- Views: 1147
Re: Accelerometer
Axis z will be 9.81G
If the pyboard is not level this will be shared into other axis
If the pyboard is not level this will be shared into other axis
- Tue Apr 23, 2019 6:05 am
- Forum: Pyboard D-series
- Topic: Stuck with green LED on constantly?
- Replies: 5
- Views: 1421
- Fri Apr 19, 2019 3:25 am
- Forum: Pyboard D-series
- Topic: Stuck with green LED on constantly?
- Replies: 5
- Views: 1421
Re: Stuck with green LED on constantly?
I read it in this thread
[Edit]
Have you tried from a serial terminal to get a REPL prompt and type
[Edit]
Have you tried from a serial terminal to get a REPL prompt and type
Code: Select all
import pyb
pyb.LED(2).off()