Search found 317 matches

by loboris
Fri Nov 30, 2018 3:52 pm
Forum: General Discussion and Questions
Topic: MQTT command topic, state restoring etc
Replies: 7
Views: 677

Re: MQTT command topic, state restoring etc

restoring local state from local flash would require saving each state change to a file. That surely wears down the flash fast whereas the state is available as a retained message over mqtt anyway. If you have your own remote server (and it is cheap and easy to create one in the cloud), you could s...
by loboris
Sun Nov 25, 2018 10:16 pm
Forum: Development of MicroPython
Topic: bound method type check
Replies: 2
Views: 389

Re: bound method type check

Code: Select all

if ((MP_OBJ_IS_FUN(args[ARG_func].u_obj)) || (MP_OBJ_IS_METH(args[ARG_func].u_obj))) {
}
MP_OBJ_IS_METH define:

Code: Select all

#define MP_OBJ_IS_METH(o) (MP_OBJ_IS_OBJ(o) && (((mp_obj_base_t*)MP_OBJ_TO_PTR(o))->type->name == MP_QSTR_bound_method))
obj.h
by loboris
Wed Nov 21, 2018 3:55 pm
Forum: General Discussion and Questions
Topic: Strange GPIO behaviour
Replies: 6
Views: 572

Re: Strange GPIO behaviour

So if that part is missing I can't do anything to solve the problem? If the pin is not used for wake-up, no deinit is needed. If you remove esp32.wake_on_ext0(d1) then you cannot wake-up with a pin. It works in my MicroPython port ( Forum ). >>> import machine >>> rtc = machine.RTC() >>> d1 = machi...
by loboris
Tue Nov 20, 2018 8:49 pm
Forum: General Discussion and Questions
Topic: Strange GPIO behaviour
Replies: 6
Views: 572

Re: Strange GPIO behaviour

GPIO used for wakeup must be deinit after wake up to be used as digital input/output again, something like this: if (rtc_gpio_is_valid_gpio(self->id)) rtc_gpio_deinit(self->id); I think that part is missing in the official MicroPython ESP32 port and that is the reason for the "Strange GPIO behaviour".
by loboris
Sat Nov 17, 2018 8:55 pm
Forum: Other Boards
Topic: New dual-core RISC-V 64bit board
Replies: 16
Views: 3319

Re: New dual-core RISC-V 64bit board

I have backed your campaign on this product and understand it is a development in process and is in early stage. I just checked out your blog.sipeed.com and I notice the syntax of your port of python is a little different from main stream Micro-Python. i.e LCD >>> = machine.st7789 () ; there is an ...
by loboris
Sat Nov 17, 2018 10:20 am
Forum: Other Boards
Topic: New dual-core RISC-V 64bit board
Replies: 16
Views: 3319

Re: New dual-core RISC-V 64bit board

One thing bothers me about all this cheap hardware: support At this stage, those boards are mainly intended for developers , the people who knows how to deal with "subtle bugs" and can participate in the software (and hardware) development. If Sipeed is clever enough, it will provide as much docume...
by loboris
Sat Nov 17, 2018 12:40 am
Forum: General Discussion and Questions
Topic: New cheap OLED screen
Replies: 9
Views: 1147

Re: New cheap OLED screen

Color OLED modules with resolution 128x128, 1.5" are available for ~15 US$ (except at Adafruit, where it costs 2x more).
The controler is SSD1351, as far as I know, only SPI interface is available.
Back side usually looks something like this:
Image
by loboris
Fri Nov 16, 2018 3:07 pm
Forum: Other Boards
Topic: New dual-core RISC-V 64bit board
Replies: 16
Views: 3319

Re: New dual-core RISC-V 64bit board

Your allowance is less than $5? :D I don't quite understand the point. BTW, Fun Fact: The board with WiFi contains an ESP8285, so you could in fact run TWO MicroPython instances on one board. Fun aside, it wouldn't be too useful to run MicroPython on ESP8285, but it could be interesting (and maybe ...
by loboris
Thu Nov 15, 2018 11:31 pm
Forum: Other Boards
Topic: New dual-core RISC-V 64bit board
Replies: 16
Views: 3319

Re: New dual-core RISC-V 64bit

Interesting discussion with some useful links on HACKADAY
by loboris
Thu Nov 15, 2018 8:17 pm
Forum: Other Boards
Topic: New dual-core RISC-V 64bit board
Replies: 16
Views: 3319

New dual-core RISC-V 64bit board

A new dual-core RISC-V 64bit board, Sipeed MAIX, just apeared on the Indiegogo campain . Sipeed MAIX is the first RV64 AI board for Edge Computing, it makes AI embeded to any IoT device possible. MAIX have tons of excited features: DualCore RV64 IMAFDC, 8MB SRAM, Neural Network Processor(0.25~0.5TOP...