Search found 149 matches

by kamikaze
Tue Jan 24, 2017 2:18 pm
Forum: Development of MicroPython
Topic: Python decimal module for pyboard micro python
Replies: 5
Views: 2325

Re: Python decimal module for pyboard micro python

I'm going to work with GPS coordinates. Float numbers do not look quiet precise. So if there is no Decimal implemented... is it a good idea to use Integer?
by kamikaze
Mon Jan 23, 2017 3:42 pm
Forum: General Discussion and Questions
Topic: Supporting CircuitPython
Replies: 6
Views: 2014

Re: Supporting CircuitPython

Concentrate on MicroPython and PyBoard/PyBoard 2 evolution. Don't forget about marketing and PR. People should know about MicroPython existance, compare and choose their way. This is a MicroPython community, not a CircusPython. Actually I don't like the way how they are trying to earn some points by...
by kamikaze
Thu Jan 19, 2017 3:28 pm
Forum: Development of MicroPython
Topic: IDEA: optional fw build
Replies: 4
Views: 1230

Re: IDEA: optional fw build

deshipu wrote:You mean something like this? https://github.com/micropython/micropyt ... nfigport.h
Yeah, but something more user(and/or script)-friendly. This headerfile could be modified as a result of option processing
by kamikaze
Thu Jan 19, 2017 1:43 pm
Forum: Development of MicroPython
Topic: IDEA: optional fw build
Replies: 4
Views: 1230

IDEA: optional fw build

As I see there are always so many fights with MicroPython firmware size growth. That's why some ideas might not pass into codebase. But how about adding such feature for build process that could define which parts to include into build and which not? For example some projects don't need framebuffer ...
by kamikaze
Sat Jan 07, 2017 7:16 am
Forum: MicroPython pyboard
Topic: "framebuf" module??????
Replies: 12
Views: 5774

Re: "framebuf" module??????

As I understood - there is no interest in making code more readable. Ok. So here goes my another PR then: https://github.com/micropython/micropyt ... 2767/files

I have added 4bpp grayscale format
by kamikaze
Mon Jan 02, 2017 12:56 pm
Forum: MicroPython pyboard
Topic: "framebuf" module??????
Replies: 12
Views: 5774

Re: "framebuf" module??????

maintainers may not like your changes to variable names. The choice of the English rather than American spelling of "colour" was deliberate. I'm wondering why they did accepted situation when there are three kinds of naming it: "col", "color" and "colour" within 20 lines o_O I've just tried to make...
by kamikaze
Mon Jan 02, 2017 4:28 am
Forum: MicroPython pyboard
Topic: "framebuf" module??????
Replies: 12
Views: 5774

Re: "framebuf" module??????

Implemented fill_rect too: https://www.youtube.com/watch?v=zfceKS-Bizk

There is a little bug remaining. After fixing it - is it possible to make THIS merged into master?
by kamikaze
Sun Jan 01, 2017 2:20 pm
Forum: Drivers for External Components
Topic: Driver for LSM303D
Replies: 3
Views: 1581

driver for LSM303D

rcolistete wrote:Any plans to have a MicroPython LSM303D driver ? I ask to avoid double effort, I was planning to make a simple LSM303D driver in January. LSM303D has only one I2C address, 16 bits accelerometer and magnetometer.
I have only one device which is Pololu imu01b. Feel free to fork )
by kamikaze
Sun Jan 01, 2017 11:53 am
Forum: Drivers for External Components
Topic: Driver for LSM303D
Replies: 3
Views: 1581

driver for LSM303D

rcolistete wrote: Wow, you have the LSM303 (DLHC/D/C ?) working with Pyboard ! Is the driver published ?
yep: https://github.com/kamikaze/pyboard-exa ... 2screen.py