Search found 288 matches

by Turbinenreiter
Sun Jan 29, 2017 11:07 am
Forum: ESP8266 boards
Topic: I2C improvements in 1.8.7
Replies: 3
Views: 1249

Re: I2C improvements in 1.8.7

I also had a comparison with the CircuitPython API, since I ported those drivers to both forks, and I sincerely hope that all those improvements will be some day ported over to CircuitPython, because the MicroPython API is currently so much better. I haven't spent too much time in the CircuitPython...
by Turbinenreiter
Sun Jan 29, 2017 10:17 am
Forum: General Discussion and Questions
Topic: Implementing SPI on the UNIX port
Replies: 5
Views: 1583

Re: Implementing SPI on the UNIX port

It's not there in extmod/machine_spi.c where I copied from either.

line 289, 330:
https://github.com/micropython/micropyt ... hine_spi.c
by Turbinenreiter
Sat Jan 28, 2017 10:15 pm
Forum: General Discussion and Questions
Topic: Implementing SPI on the UNIX port
Replies: 5
Views: 1583

Implementing SPI on the UNIX port

I started implementing SPI on the UNIX port for the Raspberry Pi, but I'm not having much luck. I get this compiler error: machine_spi.c:205:5: error: initialization from incompatible pointer type [-Werror] .init = mp_machine_lspi_init, But the code looks exactly like it does in the other SPI implem...
by Turbinenreiter
Wed Jan 25, 2017 9:05 am
Forum: ESP32 boards
Topic: Esp32 port
Replies: 35
Views: 14985

Re: Esp32 port

This is great!
by Turbinenreiter
Mon Jan 23, 2017 8:52 am
Forum: General Discussion and Questions
Topic: Supporting CircuitPython
Replies: 6
Views: 2113

Re: Supporting CircuitPython

We point them to Adafruit AND do our best to support them. The API differences are small anyway.
by Turbinenreiter
Tue Jan 17, 2017 8:56 pm
Forum: ESP8266 boards
Topic: Adafruit CircuitPython
Replies: 22
Views: 10925

Re: Adafruit CircuitPython

pythoncoder wrote:I hope we end up with two good quality universal hardware API's. :?
Guys like us will end up writing a wrapper anyway ;)
by Turbinenreiter
Tue Jan 17, 2017 8:17 am
Forum: Other Boards
Topic: Porting Micropython on SensiBLE
Replies: 8
Views: 2251

Re: Porting Micropython on SensiBLE

This is exactly the hardware I need for a project of mine. The microcontroller you use is already support, so it's only a matter of creating board definitions and writing drivers.

I'm in!
by Turbinenreiter
Sun Jan 15, 2017 9:54 am
Forum: ESP8266 boards
Topic: Adafruit CircuitPython
Replies: 22
Views: 10925

Re: Adafruit CircuitPython

In the video, the reason to fork was given with two arguments: 1. create a uniform API 2. create a simpler API ad 1) creating a uniform API by forking is ... not how you create a uniform API. However, the shared bindings model they use is, I think, a very good idea. A lack of such a thing is what br...
by Turbinenreiter
Tue Jan 10, 2017 5:32 pm
Forum: Other Boards
Topic: ST SensorTile kit
Replies: 5
Views: 2164

Re: ST SensorTile kit

The only company that has stock won't ship it to me because of US trade restrictions. Even ST themselves can't ship it to me because of that.

ST is an European company.

What the hell.
by Turbinenreiter
Fri Jan 06, 2017 3:56 pm
Forum: General Discussion and Questions
Topic: Implementing a C function that takes a Python function as argument
Replies: 10
Views: 6659

Re: Implementing a C function that takes a Python function as argument

Thanks again for pointing me in the right direction. I ended up using get_array, which works with bot list and tuples. I can now take all types of arguments (but only 0 or 1) and return all types as well as arrays of all types. At this point, I got everything I need for my proof of concept. I'm not ...