Snippet Type Examples?

Posted on
  • I'd like to make some snippet style examples, for things like Wifi.scan and Wifi.connect etc..., but I don't think they really fit in with the examples on the Tutorials page, the ones there are more like full projects rather than just how to use a single function. However I don't just want to post them on the forum as I'd like them to appear on the Reference as a link to an example. I believe these links are auto-generated from the other pages on espruino.com, am I correct?

  • Yes, the links on the Reference are made just by scanning sections of code in the pages on the website.

    I'd add the code to here: http://www.espruino.com/ESP8266_WifiUsage

    There's already an example of using connect there, and it seems to fit quite well given it's ESP8266-specific...

  • Thanks, but if Wifi.connect is used on WifiUsage, why isn't that linked as an exaple on the reference for Wifi.connect?

  • That's a good point! I'll try and take a look into it :)

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Snippet Type Examples?

Posted by Avatar for MrTimcakes @MrTimcakes

Actions