Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianMrn committed Dec 8, 2018
1 parent d41215e commit 0d18f4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kek.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const move = amount => {
currentAngle = newAngle;

piblaster.setServoPwm("P1-13", angleToPercent(currentAngle) + "%");
console.log("Setting at: ", currentAngle, angleToPercent(currentAngle));
/* console.log("Setting at: ", currentAngle, angleToPercent(currentAngle)); */

return response;
};
Expand Down
2 changes: 2 additions & 0 deletions webserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ app.use(cors());
app.get('/left', function (req, res) {

const response = left();
console.log(response);
res.send(response);
});

app.get('/right', function (req, res) {

const response = right();
console.log(response);
res.send(response);
});

Expand Down

0 comments on commit 0d18f4d

Please sign in to comment.