Search found 45 matches

by Frida
Sun Apr 17, 2016 5:28 pm
Forum: ESP8266 boards
Topic: Early access releases #3 & #4
Replies: 51
Views: 41992

Re: Early access release #3

@pfalcon
Oh, I'm using one of yours recommendation the Adafruit HUZZAH.
And keep up the good work.
by Frida
Sat Apr 16, 2016 6:38 pm
Forum: ESP8266 boards
Topic: Early access releases #3 & #4
Replies: 51
Views: 41992

Re: Early access release #3

The network resets periodically, why?
It is my new router, my 10 years old router has no problems.
by Frida
Sat Apr 16, 2016 10:25 am
Forum: ESP8266 boards
Topic: Early access releases #3 & #4
Replies: 51
Views: 41992

Re: Early access release #3

The network resets periodically, why? >>> >>> PYB: soft reboot ioctl(1, 0) ioctl(5, 0) readblocks(0, 3ffef680(4096)) readblocks(2, 3ffef750(4096)) could not open file 'boot.py' for reading MicroPython v1.6-436-ge5dc8d3-dirty on 2016-04-08; ESP module with ESP8266 Type "help()" for more information. ...
by Frida
Fri Apr 15, 2016 1:21 pm
Forum: ESP8266 boards
Topic: I2C changes to get the HTU21D working.
Replies: 9
Views: 7996

Re: I2C changes to get the HTU21D working.

And now with timeout uint32_t start = mp_hal_ticks_ms(); // PB while (mp_hal_i2c_scl_read(self) == 0) { // PB // clock stretching if(mp_hal_ticks_ms() - start > 55) { // max 50ms/14bit/temp mp_hal_i2c_stop(self); nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "I2C bus error clock stretching"))...
by Frida
Fri Apr 15, 2016 9:33 am
Forum: ESP8266 boards
Topic: Call for testsuite running results
Replies: 31
Views: 28109

Re: Call for testsuite running results

412 tests performed (13321 individual testcases) 406 tests passed 48 tests skipped: builtin_compile class_descriptor exception_chain fun_name ordereddict1 parser slice_attrs string_splitlines machine1 machine_mem urandom_extra vfs_fat_ramdisk bytearray_construct bytes_construct cmath_fun cmath_fun_...
by Frida
Thu Apr 14, 2016 8:47 pm
Forum: ESP8266 boards
Topic: Early access releases #3 & #4
Replies: 51
Views: 41992

Re: Early access release #3

After I enter import web repl2, the console blocks until I start webrepl and connect. When I disconnect, it takes some time before webrepl are disconnected. Back in the console when I type return and tab, or I type tab and return, mycropython crash. b'aEktOB/ssf/OUtf8UAJIY4OxeHM=' b'HTTP/1.1 101 Swi...
by Frida
Tue Apr 12, 2016 7:21 pm
Forum: ESP8266 boards
Topic: I2C changes to get the HTU21D working.
Replies: 9
Views: 7996

I2C changes to get the HTU21D working.

In the latest commit eec8a94 I have made some changes. >>> i2c.scan() [64] Smallest scan freq is ca. 800 hz, or esp8266 resets. To get the scan to work, I changed to write to address instead of read from address. STATIC mp_obj_t machine_i2c_scan(mp_obj_t self_in) { machine_i2c_obj_t *self = MP_OBJ_T...
by Frida
Wed Mar 09, 2016 9:21 pm
Forum: ESP8266 boards
Topic: New *early access* mp-esp8266-firmware-vXY.bin on ESP8266
Replies: 49
Views: 46708

Re: New mp-esp8266-firmware-v01.bin on ESP8266

On a esp8266-01 One Wire works with my snippet. from machine import Pin import onewire import time ow = onewire.OneWire(Pin(0)) ds = onewire.DS18B20(ow) roms = ds.scan() print('roms',roms) while 1: a = ds.start_measure() time.sleep_ms(1750) for rom in roms: print(ds.get_temp(rom)) And the output. 24...
by Frida
Sat Mar 05, 2016 2:02 pm
Forum: ESP8266 boards
Topic: MicroPython on ESP8266 Kickstarter
Replies: 91
Views: 210270

Re: MicroPython on ESP8266 Kickstarter

MicroPython v1.6-128-g5788499 on 2016-03-05; ESP module with ESP8266 Type "help()" for more information. >>> 2+4 6 >>> help() Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name not defined >>> import pyb >>> pyb <module 'pyb'> >>> dir(pyb) ['__name__', 'info', 'f...
by Frida
Wed Feb 24, 2016 2:16 pm
Forum: General Discussion and Questions
Topic: #include <stdio.h> in file modnwcc3k.c
Replies: 1
Views: 2462

#include <stdio.h> in file modnwcc3k.c

Any ide, why I can't use #include <stdio.h> in file modnwcc3k.c. I got a lot of errors. It compiles ok without that include. But I want to use printf() in that file. Is there any other method to accomplish this? CC modnwcc3k.c In file included from /usr/include/newlib/stdio.h:48:0, from modnwcc3k.c:...