Search found 24 matches

by boochow
Sun Nov 11, 2018 3:14 am
Forum: ESP8266 boards
Topic: Redirecting terminal/WebRepl to OLED 1306
Replies: 22
Views: 5007

Re: Redirecting terminal/WebRepl to OLED 1306

HermannSW wrote:
Sun Oct 07, 2018 8:45 am
Your current version is much better than the one I used before, editing REPL history commands works fine if not changing leftmost character.
I fixed the issue by adding two escape sequences support.

I also gave this tool its own repository:
https://github.com/boochow/FBConsole
by boochow
Sat Oct 06, 2018 7:52 am
Forum: ESP8266 boards
Topic: Redirecting terminal/WebRepl to OLED 1306
Replies: 22
Views: 5007

Re: Redirecting terminal/WebRepl to OLED 1306

If rshell could do updates I'd find it hard to resist getting a Pi Zero to try it out Support for keyboard, Ethernet and WiFi would be the icing on the cake Sorry, this is off-topic but, Yes, after I would have done the PWM class which I am now working on, I will begin adding the function of writin...
by boochow
Sat Oct 06, 2018 5:14 am
Forum: ESP8266 boards
Topic: Redirecting terminal/WebRepl to OLED 1306
Replies: 22
Views: 5007

Re: Redirecting terminal/WebRepl to OLED 1306

Secondly it is @boochow's code so it's up to him what happens to it: at the moment it hasn't been released under any particular licence as far as I can see. To be accepted in the source tree it must be released under the MIT licence with a guarantee that it is original work. FBConsole class have be...
by boochow
Wed Oct 03, 2018 1:58 pm
Forum: ESP8266 boards
Topic: Redirecting terminal/WebRepl to OLED 1306
Replies: 22
Views: 5007

Re: Redirecting terminal/WebRepl to OLED 1306

Hi, IOBase had been added on 4 June. https://github.com/micropython/micropython/commit/af0932a7793478f0b90b754d38955d69700b0bee An older version of FBClass.py is here, which I had written before IOBase was added. https://gist.github.com/boochow/4163e00765b22a39151f4217cfc0297c/355af02a047717e6b7e7a2...
by boochow
Wed Aug 22, 2018 2:03 pm
Forum: Drivers for External Components
Topic: Displays with driver subclassed from framebuf
Replies: 24
Views: 2121

Re: Seeking display with driver subclassed from framebuf

The framebuf class is able to work with multiple colours and the official SSD1306 driver is subclassed from framebuf. Are any colour displays available with drivers written in this way? I am using 16bit color framebuf class in my bare metal Raspberry Pi port . demo: https://youtu.be/aUXRWUTasrY?t=1...
by boochow
Sat Aug 11, 2018 7:26 am
Forum: General Discussion and Questions
Topic: Pyboard + SSD1306
Replies: 26
Views: 2769

Re: Pyboard + SSD1306

Hi Peter, thank you so much for your comment.
I'm sorry I was misunderstanding the mid-level API.
The second line of my code re-sends the slave address again, so it cannot produce the expected result.
I think a proper solution needs to wait for PR4020.
Yes, PR4020 looks good and simple enough.
by boochow
Tue Aug 07, 2018 3:49 pm
Forum: General Discussion and Questions
Topic: Pyboard + SSD1306
Replies: 26
Views: 2769

Re: Pyboard + SSD1306

Hi Peter, I think that rewriting write_data() method using mid-level I2C API makes this driver usable with hardware I2C. I did it with hardware I2C class of my bare metal Raspberry Pi port and it worked fine. def write_data(self, buf): self.i2c.writeto(self.addr, bytearray([0x40]), False) self.i2c.w...
by boochow
Tue Aug 07, 2018 3:32 pm
Forum: Other Boards
Topic: bare metal Raspberry Pi Zero port
Replies: 18
Views: 3724

Re: bare metal Raspberry Pi Zero port

@OutoftheBOTS_ Yes, there are some All-Winner chip based boards similar to Raspberry Pi. Maybe it is not so difficult to port MicroPython itself to these boards. However, as far as I know, their bare metal codes and technical information are very limited in contrary to Raspberry Pi. So, I'm afraid t...
by boochow
Thu Aug 02, 2018 10:05 pm
Forum: Other Boards
Topic: bare metal Raspberry Pi Zero port
Replies: 18
Views: 3724

Re: bare metal Raspberry Pi Zero port

Thanks @loboris @OutoftheBOTS_ now I understand what's going on in the loboris port. In my MicroPython ESP32 port the reset with CTRL_D is only simulated while in raw REPL to enable running rshell without the real reset. It just resets the raw REPL. look at the source . Did you make this modified ve...
by boochow
Wed Aug 01, 2018 11:31 pm
Forum: Other Boards
Topic: bare metal Raspberry Pi Zero port
Replies: 18
Views: 3724

Re: bare metal Raspberry Pi Zero port

The fact that x remains defined tell me that the repl isn't being soft-reset when doing the ls command. (this esp32 has the loboris port on it) If I press Control-D on the esp32 repl, and then try print(x) it fails to find x. Wow. Amazing. Actually, I did the completely same test with you on the la...