Skip to content

Commit

Permalink
Merge pull request #6 from zxp86021/bug/wrong_message
Browse files Browse the repository at this point in the history
修正 onReady 狀態變數
  • Loading branch information
zxp86021 authored Jul 6, 2020
2 parents f456db2 + bbfa134 commit 0524e84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ function createWebArduino() {
function onReady() {
const stage = 'Ready';
let text;
status = -2;
board.samplingInterval = 20;
button = new webduino.module.Button(board, board.getDigitalPin( config.boardPin ));

Expand Down

0 comments on commit 0524e84

Please sign in to comment.