etisab пре 10 година
родитељ
комит
39604878ab
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 0
      BUILD/init.lua
  2. 0 2
      README.md

+ 2 - 0
BUILD/init.lua

@@ -3,6 +3,7 @@ yorecipient.txt exists
 apikey.txt exists and contains a valid API key
 ]] 
 
+VERSION = '0.1.0'
 DEBUG = true
 SETUP = false
 SETUP_TIMEOUT = 120000
@@ -32,6 +33,7 @@ tmr.alarm(STARTUP_DELAY_TIMER, 3000, 0, function ()
   wifi.setmode(wifi.STATION)
 
   debugMsg('Booting button ' .. node.chipid())
+  debugMsg('Version ' .. VERSION)
 
   yoRecipientExists = file.open('yorecipient.txt', 'r')
   YO_RECIPIENT = file.read()

+ 0 - 2
README.md

@@ -1,5 +1,3 @@
-###version: 0.1.0
-
 ## Use firmware 1.5.1 ONLY: https://github.com/nodemcu/nodemcu-firmware/issues/719
 
 ## OSX ESP firmware build notes