micropython-radio icon indicating copy to clipboard operation
micropython-radio copied to clipboard

ESP8266 version

Open mcauser opened this issue 8 years ago • 2 comments

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.

mcauser avatar Dec 20 '16 04:12 mcauser

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?

peterhinch avatar Dec 20 '16 08:12 peterhinch

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.

mcauser avatar Dec 20 '16 13:12 mcauser