-
• #2
Wed 2018.08.29
@MaBe added two recently - function snippet
analogReadMedian()
From: 'Any good way for analogRead readings calibration?'
http://forum.espruino.com/comments/14365428/
andclass stopWatch {}
From: 'writing modules using new feature class'
http://forum.espruino.com/conversations/317394/#comment14111852
and . . . .Thought: a separate 'Javascript' category heading with 'snippets,' 'examples,' 'modules' and 'inlineC' sub-headings
-
• #3
Thanks - those look good! If we have enough posts then yes, more headings like that would be good - at the moment I don't really have enough to fill it though :)
-
• #4
More or less every topic by @allObjects ;-)
-
• #6
From @allObjects: Date().toDateString() Formatting pattern characters
-
• #7
Fri 2018.08.31
Many code block examples to pluck from:
How to access a JSON object?
Posted on Thu 10th, November 2016
http://forum.espruino.com/conversations/295679/#comment14313479
EDIT
Does the root of the link above work for you ref #8 below article by @allObjects -
• #8
Not on the forum (I guess there's no reason to limit ourselves) but there's a great Espruino + LoRa tutorial
-
• #9
Ok, first stab at the page is here: https://github.com/espruino/EspruinoDocs/blob/master/info/Tips%20and%20Tricks.md
Again, please let me know if you can think of anything else you'd like added. I left out the JSON object post because I'm not sure it's really specific enough.
It also got me thinking - we should also link to cool projects (both on the forum and off it). There's http://forum.espruino.com/conversations/296979/ and http://forum.espruino.com/microcosms/139/ - but any others?
We've now got over 30,000 comments in the Espruino forum, and I think that while there are some real jems in here, they're getting hard to find - especially because Google doesn't seem to index the forum that well.
It's been suggested that I add a properly searchable page to the main Espruino site that links to useful forum posts, and that seems like a great idea.
So... do you have any bookmarked forum posts, or things you remember finding useful? Please could you post them up!
Things I've come across (I'll update this as I find/remember them):
Posts that seem to be viewed a lot:
edit: The page is now live at http://www.espruino.com/Tips+and+Tricks - however please post any links you think are interesting (it doesn't have to be on the forums) on this thread and I'll add them.