Skip to content

Commit

Permalink
barebone humitity package
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Feb 11, 2021
1 parent cfc9569 commit 4bbe937
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
24 changes: 24 additions & 0 deletions humidity/pxt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "jacdac-humidity",
"version": "0.0.0",
"description": "A sensor measuring humidity of outside environment.",
"files": [
"constants.ts",
"client.g.ts"
],
"testFiles": [
"test.ts"
],
"supportedTargets": [
"arcade",
"microbit",
"maker"
],
"dependencies": {
"core": "*",
"jacdac": "github:microsoft/pxt-jacdac"
},
"testDependencies": {
"nucleo-f411re": "*"
}
}
5 changes: 5 additions & 0 deletions humidity/test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
for(let i = 0; i < 5; ++i) {
const h = modules.humidity.humidity;
console.log(h)
pause(100);
}

0 comments on commit 4bbe937

Please sign in to comment.