This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
forked from tballmsft/microdata
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Base commit for noArcadeShieldMode.ts, temporarily tabbed out the code that switches between noArcadeShield and arcadeShield mode within app.ts on account of the binary size being too big now. * sensors.ts: renamed getNormalisedNthReading & buffer to getNthHeightNormalisedReading. Added getNormalisedReading - which returns the sensors output normalised to 0 and 1. Added additional documentation. Updated liveDataViewer and graphGenerator - which use these methods, as appropriate. * noArcadeShield: showSensorIcon(), dynamicSensorSeectionLoop, added magnet and radio. * noArcadeShieldMode.ts: adjusted dynamicSensorSelectionLoop to have a small wait inbetween dynamicInfo loops - to solve threading bug where the leds would remain the same since the selectionLoop thread would hog resources. * noArcadeShieldMode: Added conformation to selection, implemented b button (bugged). Completed sensorSelection & looping. Need to modify sensorScheduling for uncapped measurement qty; will be custom implementation within .log() of noArcadeShieldMode. Issue with latency after pressing A button remains. * Fixed B button issue. * Completed all noArcadeShieldMode features. * Removed confirm selection, improved latency issue with switching leds somewhat. * noArcadeShieldMode.ts: drastically improved cycling latency via new incremental wait function. * noArcadeShieldMode: fixed latency issues + enabled cancelling of recording + simplified waits + cut unused variables. * noArcadeShieldMode: thorough documentation complete. * unbinding A & B button. Entry to this class is now via noArcadeShieldMode; which used A & B. * noArcadeShieldModeForMakecode created: code can be used within the MakeCode editor; all sensor dependencies are within this file. Does not interact with other code. * noArcadeShieldMode: MagnetXSensor() -> MagnetSensor
- Loading branch information
Showing
8 changed files
with
872 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.