Search found 11 matches

by iconoclastica
Fri May 03, 2019 2:31 pm
Forum: ESP32 boards
Topic: i2c and the lilon32 Lite
Replies: 8
Views: 347

Re: i2c and the lolin32 Lite

AFAIK there are no python-drivers yet for the digole display. The unit I am using I am writing myself - therefore I am definitive to say that the only i2c method it calls is writeto(). At some point I will need to read out a return value. This first test, once I got connection, was promising, but th...
by iconoclastica
Fri May 03, 2019 1:03 pm
Forum: ESP32 boards
Topic: i2c and the lilon32 Lite
Replies: 8
Views: 347

Re: i2c and the lolin32 Lite

I replaced the display with a pn-535 mini rfid reader. That one too doesn't show up in the scan(). I will try the pullups next. ----------------------------- A sign of life! Hope looms... First I tried the pull-ups on the rfid sensor. That didn't work. Then I put the display back in place. Using the...
by iconoclastica
Fri May 03, 2019 9:14 am
Forum: ESP32 boards
Topic: i2c and the lilon32 Lite
Replies: 8
Views: 347

Re: i2c and the lilon32 Lite

Not sure if what I have is the Lite version, but what works for me is scl=5, sda=4 just like on esp8266. I have also seen (but not tried yet) examples using scl=22 and sda=21. Well, that's the point with the Lite: there is no 21. I now tried 4 and 5, but I saw no difference. a) did you try to swap ...
by iconoclastica
Fri May 03, 2019 6:54 am
Forum: ESP32 boards
Topic: i2c and the lilon32 Lite
Replies: 8
Views: 347

i2c and the lilon32 Lite

I am trying to establish a connection between the lolin32 Lite and a touch screen (Digole) by means of i2c. import machine pinSDA = machine.Pin(22) pinSCL = machine.Pin(23) # Create an I2C object out of our SDA and SCL pin objects i2c = machine.I2C(sda=pinSDA, scl=pinSCL) # address on the I2C bus di...
by iconoclastica
Fri Apr 26, 2019 9:45 am
Forum: General Discussion and Questions
Topic: incomplete import
Replies: 4
Views: 229

Re: incomplete import

Thanks for the hints, Peter. I have it working now, after removing the upeasy image and flashing the esp32 1.10, without too many compromises. Only the absence of sys.exec_info() causes me to ignore more exceptions than I would in while self.runServer: socket.settimeout(self.timeout) try: conn, addr...
by iconoclastica
Thu Apr 25, 2019 7:15 pm
Forum: ESP32 boards
Topic: Unable to connect rshell to ESP32.
Replies: 3
Views: 506

Re: Unable to connect rshell to ESP32.

This looks much like what I had at hand today. Once I had erased micro-python 9.4 and flashed on v10, I could no longer properly connect to the board. With putty I could, but got random memory printed over the screen. I didn't try ctrl-C though. I tried three times with two different images - one of...
by iconoclastica
Thu Apr 25, 2019 9:56 am
Forum: General Discussion and Questions
Topic: incomplete import
Replies: 4
Views: 229

Re: incomplete import

I'm not sure why you might be having a problem, but I thought that I'd point out that the non-embedded code may still be compiled and included even though it isn't executed. I find its better to put the embedded functionality and host functionality in different files and then just import the approp...
by iconoclastica
Wed Apr 24, 2019 2:14 pm
Forum: General Discussion and Questions
Topic: incomplete import
Replies: 4
Views: 229

incomplete import

Having worked with python for years, I am now trying my luck with micro-python on an ESP32 lite module. I want the code I am having trouble with now to run both in ython 3.4 on the pc as well as on the ESP board (i.e. Lolin32 lite). To overcome the last differences, I tried to mimic a #IFDEF/#ELSE c...
by iconoclastica
Wed Apr 24, 2019 2:00 pm
Forum: General Discussion and Questions
Topic: forum deadlock
Replies: 5
Views: 255

Re: forum deadlock

I thought I'd post an I'll-show-you, but I notice the BBCode is on now. Apparently, such a short chat is sufficient :)

For clarity, I 'll move to an appropriatly subject-ed new topic.

Thanks,

Wim
by iconoclastica
Wed Apr 24, 2019 12:45 pm
Forum: General Discussion and Questions
Topic: forum deadlock
Replies: 5
Views: 255

Re: forum deadlock

The code blocks will be unreadable...