Search found 9 matches
- Wed Apr 08, 2020 6:55 am
- Forum: Drivers for External Components
- Topic: MCP23017 16-bit IO Expander
- Replies: 6
- Views: 5963
Re: MCP23017 16-bit IO Expander
Thanks for the explanation! Would have been great to arrive at the point to choose what method to use. Unfortunately I can't define the mcp object to start with: mcp = mcp23017.MCP23017(i2c, 0x20) The above always fails with a: AttributeError: 'module' object has no attribute 'MPC23017' I'm using pi...
- Tue Apr 07, 2020 5:15 pm
- Forum: Drivers for External Components
- Topic: MCP23017 16-bit IO Expander
- Replies: 6
- Views: 5963
Re: MCP23017 16-bit IO Expander
Hello!
I realized that this library doesn't work with my cheap ESP8266 (Lolin, nodeMCU whatever) board.
Do you have any hint for that "trim"?
Thanks.
I realized that this library doesn't work with my cheap ESP8266 (Lolin, nodeMCU whatever) board.
Do you have any hint for that "trim"?
Thanks.
- Mon Jan 21, 2019 10:58 am
- Forum: ESP8266 boards
- Topic: I2C changes to get the HTU21D working.
- Replies: 9
- Views: 7939
- Mon Jan 14, 2019 10:02 am
- Forum: ESP8266 boards
- Topic: I2C changes to get the HTU21D working.
- Replies: 9
- Views: 7939
Re: I2C changes to get the HTU21D working.
Hello, I'm having the same problem with no results from I2C scan. Do you have now a solution? Thanks. Running esp8266-20190113-v1.9.4-779-g5064df207 EDIT: Changing pins to D5 and D6 makes `i2c.scan()` to work: I have the right address [64], which is 0x40. Now the error is `OSError: [Errno 19] ENODEV...
- Mon Nov 06, 2017 6:57 pm
- Forum: MicroPython pyboard
- Topic: urequests.post failures
- Replies: 8
- Views: 12057
Re: urequests.post failures
You might want to just copy and paste the quote , quote_plus and urlencode functions from it into your code. Here's an example, where I did just that. You still need the urequests and collections.defaultdict module from micropython-lib. https://gist.github.com/SpotlightKid/eca9b00239104e8c599b86635...
- Fri Nov 03, 2017 9:37 am
- Forum: MicroPython pyboard
- Topic: urequests.post failures
- Replies: 8
- Views: 12057
Re: urequests.post failures
So I tried again with Pushed: using the json keyword as suggested, the request goes, but the response text is:
Code: Select all
{"error":{"type":"empty_credentials","message":"You must introduce account credentials to make requests. Please read the documentation available in https:\/\/about.pushed.co\/docs."}}
- Tue Oct 31, 2017 8:59 pm
- Forum: MicroPython pyboard
- Topic: urequests.post failures
- Replies: 8
- Views: 12057
Re: urequests.post failures
First posts do not allow bbcode as some spammers used it to send pictures not only of naked PCBs but of other naked things.... As we need to approve the first posts and they always open up full for approval, we had an office-rules violation from time to time ;) Now it should work for you Unfortunat...
- Thu Oct 26, 2017 7:04 am
- Forum: MicroPython pyboard
- Topic: urequests.post failures
- Replies: 8
- Views: 12057
- Wed Oct 25, 2017 6:12 pm
- Forum: MicroPython pyboard
- Topic: urequests.post failures
- Replies: 8
- Views: 12057
urequests.post failures
Hello! This is my 1st post here; I hope I'm not breaking any rules. I'm trying to receive notifications on my (Android) mobile device from an ESP8266 MCU running Micropython. For this reason I subscribed to a couple of online services exposing some APIs for this task, Pushbullet and Pushed, and I in...