Created
February 15, 2018 04:12
-
-
Save uDude/8a8226daa8e43d83e0b5e06609ba7661 to your computer and use it in GitHub Desktop.
Elements compiled into nodemcu modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I periodically tinker with nodemcu firmware for the ESP chips by espressif. One of the most frustrating things is the difference between the documented methods and constants and the actual methods and constants. | |
The first helper function I define is a `help` function named `h()`: | |
``` | |
function h(mod) for k,v in pairs(mod) do print(k) end end | |
``` | |
-- Example Use# | |
``` | |
h(node) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment