micropython-radio
micropython-radio copied to clipboard
ESP8266 version
I'd like to try your library between two ESP8266s, or an ESP8266 and Pyboard.
I updated the nRF24L01 driver to use machine and time instead of pyb.
I also moved SPI and Pin initialisation outside of the library.
https://github.com/micropython/micropython/pull/2703
I'm going to try the same with yours, to get them working with my boards. I only have 1x pyboard v1.0, but 10s of ESP8266s.
eg.
pyb.delay() -> time.sleep_ms()
pyb.millis() -> time.ticks_ms()
pyb.elapsed_millis(start) -> time.ticks_diff(time.ticks_ms(), start)
See my fork for progress.
Sounds a useful update.
I'm puzzled at the use case for a radio link between units with a wifi interface. Are you trying to bridge two wifi networks?
More of an adventure in programming and learning than real world / business value.
I have plenty of ESP8266 boards, so just having a bit of fun with them.