Search found 11 matches

by uxhamby
Thu Jan 16, 2020 6:26 pm
Forum: General Discussion and Questions
Topic: Partial mac address ?
Replies: 4
Views: 210

Re: Partial mac address ?

Yes, I understand now. Thanks!

Brian H.
by uxhamby
Thu Jan 16, 2020 5:46 pm
Forum: General Discussion and Questions
Topic: Partial mac address ?
Replies: 4
Views: 210

Partial mac address ?

MicroPython v1.12-58-g7ef2f6511 on 2020-01-12; ESP32 module with ESP32 OK, so I am reading the docs at: https://docs.micropython.org/en/latest/library/network.WLAN.html bottom of the page where they suggest that print(nic.config('mac')) should return the mac address of the 'nic' interface. When I ru...
by uxhamby
Fri Dec 27, 2019 4:54 pm
Forum: ESP32 boards
Topic: Hall Effect sensor?
Replies: 6
Views: 318

Re: Hall Effect sensor?

DJShadow1966 wrote:
Sat Dec 21, 2019 6:28 am
Hello

Code: Select all

esp32.hall_sensor()     # read the internal hall sensor
Taken from http://docs.micropython.org/en/latest/e ... ckref.html

Regards Mike
Thanks.
by uxhamby
Sat Dec 21, 2019 12:05 am
Forum: ESP32 boards
Topic: Hall Effect sensor?
Replies: 6
Views: 318

Hall Effect sensor?

All ESP32 chips have a built-in hall effect sensor, used to measure a prevailing magnetic field. As I understand things, it is inherent to the chip itself and is not a peripheral, so presumably the field must be local to the chip. In the Arduino IDE, I am told, it is straightforward to measure the o...
by uxhamby
Thu Nov 21, 2019 8:22 pm
Forum: Hardware Projects
Topic: Larger fonts on SSD1306 OLED displays
Replies: 18
Views: 9745

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: 121

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: 18
Views: 9745

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: 18
Views: 9745

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: 6710

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: 18
Views: 9745

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...