Search found 2235 matches
- Sun Feb 28, 2021 10:58 pm
- Forum: General Discussion and Questions
- Topic: Size of git repository
- Replies: 2
- Views: 57
Re: Size of git repository
What is the reason for this vast difference? When you download the zip file from github, you jsut get a snapshot of the latest code. When you clone the github repo, you get the full history. If you clone it recursively, you get the full history of all the submodules too. Additionally, a github repo...
- Sun Feb 28, 2021 10:51 pm
- Forum: General Discussion and Questions
- Topic: hardware i2c deprecated
- Replies: 3
- Views: 48
Re: hardware i2c deprecated
is there something I'm missing while setting the i2c? Previously we use to have a single I2C class, and depending on which ID was specified, it was either Software (bitbanging) or Hardware. In this case, with no ID specified, it's defaulting to -1 (i.e. software I2C). This led to some confusing beh...
- Sun Feb 28, 2021 10:42 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: ulab for MicroPython?
- Replies: 1
- Views: 83
Re: ulab for MicroPython?
how can I precompile or get precompiled and load ulab for Pico in MicroPython ? The Pico uses a different build system, and the feature that ulab uses to integrate with the MicroPython build isn't supported yet. The relevant issue tracking this is https://github.com/v923z/micropython-ulab/issues/32...
- Fri Feb 26, 2021 1:34 am
- Forum: ESP32 boards
- Topic: ESP32 cannot get data from MaxBotic Sensor--have I configured something wrong?
- Replies: 2
- Views: 91
Re: ESP32 cannot get data from MaxBotic Sensor--have I configured something wrong?
1. I have connected the pins incorrectly or have an incorrect ID in the initializer. The ESP32 datasheets aren't the best, and don't clearly label things. But the devkit pinouts are pretty clear. On my pinout, UART 0 is connected to pins 1 and 3, and UART 2 to pins 16 and 16. UART 1 is presumably r...
- Fri Feb 26, 2021 1:21 am
- Forum: General Discussion and Questions
- Topic: Access Point - Extract query from URL
- Replies: 1
- Views: 61
Re: Access Point - Extract query from URL
If the browser connects to the access point with a query string attached to the url, e.g 192.168.4.1?var1=10&var2=20 ..... etc., what method would the ESP8266 use to extract these values from the url? Can you provide more information about how your web server works? When the browser connects to htt...
- Thu Feb 25, 2021 11:54 pm
- Forum: ESP32 boards
- Topic: WLAN.ifconfig(
- Replies: 8
- Views: 167
Re: WLAN.ifconfig(
File "connect_ip2.py", line 6, in <module> TypeError: function doesn't take keyword arguments ifconfig doesn't take keyword argument. You have wlan.ifconfig(config=('192.168.1.144','255.255.255.0','192.168.1,254','192.168,1,254')) but it should be just wlan.ifconfig(('192.168.1.144','255.255.255.0'...
- Thu Feb 25, 2021 11:51 pm
- Forum: ESP8266 boards
- Topic: After set timer, ampy doesn't work
- Replies: 3
- Views: 78
Re: After set timer, ampy doesn't work
In general though, instead of using ampy, I recommend either pyboard.py or rshell. pyboard.py has a neat feature where you can run your program from RAM, ratehr than copying the file to the board. So when your board restarts, nothing is running until you run it with pyboard.py See http://docs.microp...
- Thu Feb 25, 2021 11:50 pm
- Forum: ESP8266 boards
- Topic: After set timer, ampy doesn't work
- Replies: 3
- Views: 78
Re: After set timer, ampy doesn't work
I got "could not enter raw repl". If I removed main.py for esp8266 and reboot. the ampy woks. Because ampy uses the REPL to send/receive data, anything that your program prints out will confuse ampy. Unfortunately there's no way for ampy to stop your ISR from running -- if it does a soft reset, the...
- Thu Feb 25, 2021 11:46 pm
- Forum: Programs, Libraries and Tools
- Topic: XBee 3 watchdog
- Replies: 2
- Views: 54
Re: XBee 3 watchdog
Does anyone know which is correct? This was corrected since the version of the documentation that the XBee docs link to. See http://docs.micropython.org/en/latest/library/machine.WDT.html I would suspect that XBee copied the implementation from the WiPy, which definitely uses milliseconds. Unfortun...
- Thu Feb 25, 2021 6:22 am
- Forum: ESP32 boards
- Topic: ble.gattc_read() can read out invalid values
- Replies: 7
- Views: 158
Re: ble.gattc_read() can read out invalid values
But there isn't any data. I really don't know what I need to do more ? You probably need to subscribe to indications by writing to the CCCD descriptor for the RX characteristic. Here's an example from a higher level library I'm working on that makes it easier to use ubluetooth. https://github.com/j...