basic nodemcu stuff in lua/
This commit is contained in:
29
_.org
Normal file
29
_.org
Normal file
@ -0,0 +1,29 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
* old stuff??!
|
||||
|
||||
-- sdcard
|
||||
tf_cs=4 -- CS=GPIO4
|
||||
tf_mosi=23 -- DI=GPIO23
|
||||
tf_sclk=18 -- SCLK=GPIO18
|
||||
tf_miso=19 -- DO=GPIO19
|
||||
|
||||
|
||||
|
||||
|
||||
-- buttons (active low)
|
||||
pin_btn_a=39
|
||||
pin_btn_b=38
|
||||
pin_btn_c=37
|
||||
|
||||
-- usb console
|
||||
pin_console_rx=3
|
||||
pin_console_tx=1
|
||||
|
||||
-- Speaker output
|
||||
pin_spkr=25
|
||||
|
||||
Reference in New Issue
Block a user