EmbeddedNim / picostdlib

Nim wrapper for the raspberry pi stdlib
MIT License
70 stars 11 forks source link

Example for Pico W #49

Closed inviridi closed 2 years ago

inviridi commented 2 years ago

Hi guys,

thanks for this lovely project; I really enjoyed the clean and useful examples! Would you mind showing how to use Nim with the Pico W, i.e. leveragint its wireless capabilities? My internet searches for this were fruitless so far and I think it would make a good addition to the repo.

Thanks a lot in advance!

Cheers, Frank

beef331 commented 2 years ago

I do not have a PicoW, so I can only tell you what's required. You will need to wrap the C procedures. Examples of the C api are here after wrapping the procedures and types that it uses you'll be capable of re implementing those examples and sleep happily.

inviridi commented 2 years ago

Thanks for your swift reply, @beef331! I'll try wrapping the C procedures then and sleep happily.