Skip to content
Browse files
added getSteps() to widget
  • Loading branch information
hughbarney committed Jan 6, 2021
1 parent b2f3702 commit 39829faf26a956243a8f9aa1fb4d6f42c2a43280
Showing 1 changed file with 1 addition and 1 deletion.
@@ -229,5 +229,5 @@
setStepSensitivity(setting('stepSensitivity')); //set step sensitivity (80 is standard, 400 is muss less sensitive)
timerStoreData = setInterval(storeData, storeDataInterval); //store data regularly
//Add widget, use: WIDGETS["wpedom"].getSteps() inside another App to return todays step count
WIDGETS["activepedom"]={area:"tl",width:width,draw:draw, getSteps=>()=>steps_counted};
WIDGETS["activepedom"]={area:"tl",width:width,draw:draw, getSteps=>()=>stepsCounted};

0 comments on commit 39829fa

Please sign in to comment.