Search found 7 matches
- Fri Apr 26, 2019 8:44 pm
- Forum: MicroPython pyboard
- Topic: using lambda with timer
- Replies: 1
- Views: 3493
using lambda with timer
Hi, def blink_led(): pyb.LED(1).toggle() tim=pyb.Timer(4) tim.init(freq=2) tim.callback(blink_led) I am getting: PYB: sync filesystems PYB: soft reboot MicroPython v1.9.4-85-gdf9b7e8f on 2018-05-24; PYBv1.1 with STM32F405RG Type "help()" for more information. >>> uncaught exception in Timer(4) inter...
- Fri Apr 26, 2019 8:39 pm
- Forum: MicroPython pyboard
- Topic: First Connect
- Replies: 3
- Views: 2959
- Fri Apr 26, 2019 8:38 pm
- Forum: MicroPython pyboard
- Topic: Accelerometer
- Replies: 4
- Views: 3638
- Wed Apr 24, 2019 8:53 am
- Forum: MicroPython pyboard
- Topic: Debug code with pyCharm
- Replies: 2
- Views: 4640
Debug code with pyCharm
Hi,
How can I debug the code in pyCharm?
The debug button does not activate. why?
what software do you use for code writing and debugging?
Thanks
How can I debug the code in pyCharm?
The debug button does not activate. why?
what software do you use for code writing and debugging?
Thanks
- Tue Apr 23, 2019 7:34 pm
- Forum: MicroPython pyboard
- Topic: Accelerometer
- Replies: 4
- Views: 3638
Accelerometer
Hi, I am trying to work with the accelerometer of pyBoard. From the values I get, I am not sure whether I do not understand something, or it does not work well. I would expect that if the board does not move, the reading of all axes will be zero ( or close to zero). When I will move the board I will...
- Tue Apr 23, 2019 2:00 pm
- Forum: MicroPython pyboard
- Topic: First Connect
- Replies: 3
- Views: 2959
Re: First Connect
1. Success to run something by editing main.py.
but after it I get a message:
"The file or directory \main.py is corrupt and unreadable.
Please run the Chkdsk utility.
Chkdsk utility deletes the file.
the same happens if I modify boot.py
why?
but after it I get a message:
"The file or directory \main.py is corrupt and unreadable.
Please run the Chkdsk utility.
Chkdsk utility deletes the file.
the same happens if I modify boot.py
why?
- Tue Apr 23, 2019 1:12 pm
- Forum: MicroPython pyboard
- Topic: First Connect
- Replies: 3
- Views: 2959
First Connect
Hi all, Just got the pyboard. My laptop recognized it immediately. 1. After I modify main.py, how can I execute it? should not it be executed automatically? 2. In device manager, I see that pyboard com is recognized as USD Serial Device and not Pyboard usb comm port (as mentioned in the link: http:/...