Search found 7 matches

by uxhamby
Thu Nov 21, 2019 8:22 pm
Forum: Hardware Projects
Topic: Larger fonts on SSD1306 OLED displays
Replies: 17
Views: 8587

Re: Larger fonts on SSD1306 OLED displays

Thanks Peter,

Yes, I see the distinction now. Is there a worthy tutorial somewhere which documents the procedure?

Cheers,

Brian H.
by uxhamby
Thu Nov 21, 2019 8:09 pm
Forum: General Discussion and Questions
Topic: printing an ASCII character by number
Replies: 1
Views: 89

printing an ASCII character by number

OK, so here is one, to do with printing an ASCII character by number, that I don't understand and could use some advice with: If, at the repl >>> command prompt, I do: t=b'22.5';t=t.decode();d= chr(176) ;T="Temp: "+t+d+"C";print(T) OR t=b'22.5' t=t.decode() d= chr(176 ) T="Temp: "+t+d+"C" print(T) R...
by uxhamby
Tue Nov 19, 2019 6:39 pm
Forum: Hardware Projects
Topic: Larger fonts on SSD1306 OLED displays
Replies: 17
Views: 8587

Re: Larger fonts on SSD1306 OLED displays

Thanks for the quick responses. You can replace ssd1306_setup.py to use the working code that you already have that creates the i2c and oled instances. Yes, I wondered about that. Cheers! You need to implement fonts as frozen bytecode to conserve RAM. That is the reason for converting them to Python...
by uxhamby
Tue Nov 19, 2019 3:07 am
Forum: Hardware Projects
Topic: Larger fonts on SSD1306 OLED displays
Replies: 17
Views: 8587

Re: Larger fonts on SSD1306 OLED displays

I have since updated to 'esp8266-20191118-v1.11-580-g973f68780.bin' the latest daily release of MicroPython. Now the results of attempting to run writer_demo.py are pretty consistently as follows: MPY: soft reboot MicroPython v1.11-580-g973f68780 on 2019-11-18; ESP module with ESP8266 Type "help()" ...
by uxhamby
Mon Nov 18, 2019 10:17 pm
Forum: Programs, Libraries and Tools
Topic: uPing - Ping library for MicroPython
Replies: 21
Views: 5972

Re: uPing - Ping library for MicroPython

Please update your firmware to the daily build. Then, SOCK_RAW should be working.
Nice! Thanks.
by uxhamby
Mon Nov 18, 2019 7:38 pm
Forum: Hardware Projects
Topic: Larger fonts on SSD1306 OLED displays
Replies: 17
Views: 8587

Re: Larger fonts on SSD1306 OLED displays

I am having an issue that I don't understand. Some sage advice would be welcome: MicroPython v1.11-8-g48dcbbe60 on 2019-05-29; ESP module with ESP8266 Type "help()" for more information. >>> >>> import writer_demo Test assumes a 128*64 (w*h) display. Edit WIDTH and HEIGHT in ssd1306_setup.py for oth...
by uxhamby
Thu Nov 14, 2019 10:10 pm
Forum: Programs, Libraries and Tools
Topic: uPing - Ping library for MicroPython
Replies: 21
Views: 5972

Re: uPing - Ping library for MicroPython

I have installed the revised code but still get a run time error as follows: >>> uping.ping("google.com") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "uping.py", line 49, in ping OSError: [Errno 22] EINVAL >>> I am running esp8266-20190529-v1.11.bin on an esp8266 node...