Search found 29 matches

by Hanilein
Thu Feb 14, 2019 8:09 am
Forum: MicroPython pyboard
Topic: RTC Alarm and interrupt - how does pyp.ExtInt work?
Replies: 4
Views: 3294

Re: RTC Alarm and interrupt - how does pyp.ExtInt work?

Thank you, Dave. Much appreciated. :)
by Hanilein
Tue Feb 12, 2019 6:34 pm
Forum: MicroPython pyboard
Topic: AttributeError: 'module' object has no attribute 'Pin'
Replies: 10
Views: 13485

Re: AttributeError: 'module' object has no attribute 'Pin'

It still works :o The only difference is, that I don't have the Oled Driver, so that's commented out. MicroPython v1.9.2 on 2017-08-23; PYBv1.1 with STM32F405RG Type "help()" for more information. >>> import motor_driver >>> motor_driver.brake() >>> motor_driver.accelerate(100) >>> just for our peac...
by Hanilein
Tue Feb 12, 2019 9:07 am
Forum: MicroPython pyboard
Topic: AttributeError: 'module' object has no attribute 'Pin'
Replies: 10
Views: 13485

Re: AttributeError: 'module' object has no attribute 'Pin'

Hmmm, I tried that on the fly, it works...
Can you please post a bit more of your code, and the REPL screen output as well?
by Hanilein
Tue Feb 12, 2019 7:34 am
Forum: MicroPython pyboard
Topic: RTC Alarm and interrupt - how does pyp.ExtInt work?
Replies: 4
Views: 3294

RTC Alarm and interrupt - how does pyp.ExtInt work?

I have a decent complex piece of code around the RTC alarm, and it is working fine - apart from the interrupts. I use pyb.ExtInt(): AlarmIntAB = pyb.ExtInt(17, pyb.ExtInt.IRQ_RISING, pyb.Pin.PULL_NONE, AlarmCallBack) but the interrupts do not fire. They do, however, when I set the EXTT_RTSR bit manu...
by Hanilein
Mon Feb 11, 2019 12:59 am
Forum: Pyboard D-series
Topic: Questions and wish list about Pyboard D
Replies: 38
Views: 26497

Re: Questions and wish list about Pyboard D

The opportunity to switch off peripherals with a port pin is brilliant. I'd like to have the same opportunity with the processor itself, to achieve a zero-power system. Here is my idea (which I have not tested yet, but will soon): The processor (F405 on the pyboard 1.x) offers one particular pin (X1...
by Hanilein
Mon Feb 11, 2019 12:51 am
Forum: MicroPython pyboard
Topic: Pyboard D reviews
Replies: 8
Views: 9206

Re: Pyboard D reviews

Amazing!

I'd also like to have a look, what processors will be available (especially, which chip family), etc. Where is this information accessible?
And of course, a timeline would be nice, when we can order :D
by Hanilein
Sun Feb 10, 2019 11:07 pm
Forum: MicroPython pyboard
Topic: Jumping mouse drives me crazy
Replies: 2
Views: 2040

Re: Jumping mouse drives me crazy

Hi Peter, no, the PyBoard isn't running code. It may have to do with my setup, though i do not understand, how. The PyBoard sits on a breadboard, there are two FTDI cables connected and a RS232-to-USB converter. All 4 devices are using one 1-to-4 USB hub, connected to the docking station of my lapto...
by Hanilein
Sun Feb 03, 2019 12:07 am
Forum: MicroPython pyboard
Topic: Jumping mouse drives me crazy
Replies: 2
Views: 2040

Jumping mouse drives me crazy

I use a Pyboard with V1.9.2 for approx. 9 months. recently it got possessed - it makes the laptop mouse jumping around and clicking, a jump per second. It happens more often and right now, i cannot work anymore. In the boot.py the pyboard is set to be a storage device. And it has been working for mo...
by Hanilein
Fri Feb 01, 2019 12:20 am
Forum: General Discussion and Questions
Topic: How do I terminate a background program/thread/function/method in uPy?
Replies: 5
Views: 5454

Re: How do I terminate a background program/thread/function/method in uPy?

uPy runs 'on the bare metal', there is no such thing as a task manager or background process to 'break' a rouge piece of code. I use a pyBoard, and the code lives on an SD-Card. If i stuff up, i pull the SD-card, put it in the laptop, change the code and the problem is solved. Happens pretty seldom,...
by Hanilein
Wed Jan 23, 2019 9:34 am
Forum: MicroPython pyboard
Topic: RTC wakeup depends on calibration value ???
Replies: 2
Views: 2457

Re: RTC wakeup depends on calibration value ???

Excellent, thank you!

Works like a charm.