Search found 342 matches

by kfricke
Thu Feb 05, 2015 3:52 pm
Forum: MicroPython pyboard
Topic: Maximum number of PWM or how to get more
Replies: 27
Views: 22620

Re: Maximum number of PWM or how to get more

Oh, and btw: don't drink that much coke ;-)
by kfricke
Thu Feb 05, 2015 3:49 pm
Forum: MicroPython pyboard
Topic: Maximum number of PWM or how to get more
Replies: 27
Views: 22620

Re: Maximum number of PWM or how to get more

Cool stuff but how about something like WS2812 RGB LEDs? Is far simpler imho!
by kfricke
Thu Feb 05, 2015 10:45 am
Forum: Development of MicroPython
Topic: Ported to esp8266!?
Replies: 29
Views: 28591

Re: Ported to esp8266!?

The recent Git commits are making me interested in the new features of this port (wifi is being implemented). So i decided to give this build a try. Building the ESP-Open-SDK from pfalcon's Git repository worked on my Debian Wheezy like a charm (except Wheezy does not know a unrar package, luckily t...
by kfricke
Mon Feb 02, 2015 5:10 pm
Forum: Hardware Projects
Topic: MicroPython live
Replies: 8
Views: 9258

Re: MicroPython live

Cool site and nice environment to show strangers how easy to use Micro Python (|MicroPython|microPython|uPy) really is. Maybe you should add a note the Micro Python is usually intended to run scripts longer than 10 seconds. Never underestimate that inattentive press agent who tells that this is a to...
by kfricke
Tue Jan 27, 2015 11:06 am
Forum: Development of MicroPython
Topic: Ported to esp8266!?
Replies: 29
Views: 28591

Re: Ported to esp8266!?

I do understand your sub-thread spawned from this topic, but am not into those topics deep enough to be really help out there. I could test your ESP2688 ports (preferably in binary form) and contribute pure python code, but sadyl not more. I assume contributing to porting is needed far more at this ...
by kfricke
Tue Jan 13, 2015 5:23 pm
Forum: General Discussion and Questions
Topic: Detecting if a PC is connected
Replies: 6
Views: 5953

Re: Detecting if a PC is connected

You should be able to accomplish this by reading the following documentations: Tutorial 2. Running your first script pyb.have_cdc() The key to success should be to alter the boot.py file and integrate a decision if you see a serial device over USB. If no CDC is available the USB connenction can be u...
by kfricke
Sun Jan 04, 2015 3:17 pm
Forum: Development of MicroPython
Topic: New bytearray implementation buggy or not used as intended?
Replies: 2
Views: 3170

Re: New bytearray implementation buggy or not used as intend

pfalcon wrote:Why so complicated (based on your other messages too)?
I do simply try to understand the things I talk about.
by kfricke
Sun Jan 04, 2015 1:36 pm
Forum: Development of MicroPython
Topic: New bytearray implementation buggy or not used as intended?
Replies: 2
Views: 3170

New bytearray implementation buggy or not used as intended?

With firmware verisons 1.3.7 I can run the OLED display library forked from the other thread without any problems (SSD1306 using I2C). After updating the firmware to any 1.3.8 version I do get the following TypeError: Micro Python v1.3.8-9-g8a2cc1c on 2014-12-30; PYBv1.0 with STM32F405RG Type "help(...
by kfricke
Fri Jan 02, 2015 10:53 am
Forum: General Discussion and Questions
Topic: Get data through USB_VCP
Replies: 4
Views: 5565

Re: Get data through USB_VCP

If i read the code correctly the read() method is non-blocking (dunno if this really differs from the recv() method!?). It does not allocate any memory on the heap and should be usable within an interrupt handling mechanism. The return value always is the number of bytes read. This is a different be...
by kfricke
Tue Dec 30, 2014 1:03 pm
Forum: MicroPython pyboard
Topic: Accelerometer filtered values
Replies: 1
Views: 2522

Accelerometer filtered values

Reading a little into the C code for the accelerometer i wonder if the method 'filtered_xyz()' does work as expected. Surely, the method name does suggest some sort of filtering. It seems that the C code should return a filtered result over the last four calls to this method. Instead it does return ...