Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
KalbeAbbas committed Jun 23, 2020
1 parent 13bb8f9 commit 0d3f726
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ namespace cw01 {
let cw01_vars = new cw01_int_var123()
let cw01_mqtt_vars = new cw01_mqtt()
let cw01_button_object = new button_class()
let en_Feedback: boolean = false
let en_Feedback: boolean = true

cw01_vars.start = true
serial.redirect(SerialPin.P1, SerialPin.P0, 115200)
Expand Down Expand Up @@ -185,6 +185,7 @@ namespace cw01 {
if (cw01_vars.res.includes("WIFI CONNECTED")) {
basic.showString("C")
basic.pause(2000)
basic.showString("")
cw01_vars.res = ""
} else {
basic.showString("D")
Expand Down

0 comments on commit 0d3f726

Please sign in to comment.