Search found 4 matches

by itarill
Mon Jul 20, 2020 8:37 pm
Forum: ESP32 boards
Topic: GPIO state on Pin.OUT initialization
Replies: 4
Views: 3606

Re: GPIO state on Pin.OUT initialization

Indeed you're right.
I found out sometime later that I was looking at the pyboard section, which does not have this chunk in the documentation (hope I'm not writing something stupid and I'm recalling it correctly). In the ESP32 section I did find it, and facepalmed.
by itarill
Mon Jul 20, 2020 6:08 pm
Forum: Programs, Libraries and Tools
Topic: ujson utf8 content
Replies: 1
Views: 1742

ujson utf8 content

I cannot seem to find a good solution to my problem - accented characters in my JSON object. Here is a minimalistic example: import ujson exampleJSON = ujson.loads( '{ \n' \ '"Name": "Á" \n'\ '}\n') >>> exampleJSON {'Name': '\xc1'} >>> print(bytes(ujson.dumps(exampleJSON), 'utf-8')) b'{"Name": "\xc3...
by itarill
Sun Jul 19, 2020 6:55 am
Forum: ESP32 boards
Topic: GPIO state on Pin.OUT initialization
Replies: 4
Views: 3606

Re: GPIO state on Pin.OUT initialization

Thanks, this is exactly what I was looking for. Wonder why I have not came across it in the first place. Thanks for the patience :)
by itarill
Sat Jul 18, 2020 10:44 pm
Forum: ESP32 boards
Topic: GPIO state on Pin.OUT initialization
Replies: 4
Views: 3606

GPIO state on Pin.OUT initialization

Hello all, First and foremost please excuse for the trivial question - I did use google but apparently I'm not finding the appropriate keywords to find my answer. I'm not native English and completely new to microcontrollers. My issue is that whenever I initialize a pin as output after boot, like re...