thank you. I will spend a bit of time playing with it

Code: Select all
from machine import Pin
pin = Pin(39, Pin.IN, Pin.PULL_DOWN) # <- fails here
#pin.init(pin.IN)
#pin.irq(trigger=Pin.IRQ_FALLING, handler=lambda x: print(x))
Traceback (most recent call last):
File "main.py", line 2, in <module>
ValueError: pins 34~39 do not have pull-up or pull-down circuitry
Code: Select all
from machine import Pin, SPI
spi = SPI(
-1,
baudrate=1200000,
miso=Pin(19),
mosi=Pin(23),
sck=Pin(18)
Traceback (most recent call last):
File "main.py", line 2, in <module>
OSError: error initializing spi
Bluetooth does not work, BT module will be (temporarily) removed from build in next commit.ruf wrote: ↑Tue Nov 21, 2017 7:22 amif I enable bluetooth in menuconfig, i got CPU halt.
I set timezone to CST-8 in menuconfig, rebuild and flash, after rtc.ntp_sync(), time.gmtime() returns correct, but time.localtime() returns wrong time. It should be +0800 but i got -0800 time.
machine.Timer() not work yet. hoping your new commits will fix it![]()
sometime, while threads is exiting, run '_thread.list()' cause core crash.
Code: Select all
>>> time.gmtime()
(2017, 11, 22, 14, 36, 14, 4, 326)
>>> time.localtime()
(2017, 11, 22, 22, 36, 21, 4, 326)
>>>
>>> time.strftime("%c",time.gmtime())
'Wed Nov 22 14:50:13 2017'
>>> time.strftime("%c",time.localtime())
'Wed Nov 22 22:50:16 2017'
>>>
Code: Select all
FreeRTOS running on BOTH CORES, MicroPython task started on App Core.
Reset reason: RTC WDT reset
uPY stack: 19456 bytes
uPY heap: 80000/6752/73248 bytes
MicroPython ESP32_LoBo_v2.0.8 - 2017-11-04 on ESP32 board with ESP32
Type "help()" for more information.