openbci-archive / OpenBCI_NodeJS_Wifi

NodeJS driver for the Wifi Shield
MIT License
16 stars 13 forks source link

Expanded and updated examples. #22

Closed jagrafft closed 6 years ago

jagrafft commented 6 years ago
  1. Refactored examples getStreaming.js and getStreamingWiFiDirect.js
    • Removed dead code
    • Renamed variables
    • Variables properly classed into const and let
    • Improved readability
    • Eliminated functional redundancies
  2. Added example xstreamCSV.js
    • Direct WiFi
    • Pipes data from OpenBCI hardware into an XStream producer
    • Outputs to console, CSV (via WriteStream) using listeners
codecov[bot] commented 6 years ago

Codecov Report

Merging #22 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #22   +/-   ##
=======================================
  Coverage   31.05%   31.05%           
=======================================
  Files           1        1           
  Lines         483      483           
  Branches       91       91           
=======================================
  Hits          150      150           
  Misses        333      333

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 065a88f...5cdcf0a. Read the comment docs.

andrewjaykeller commented 6 years ago

Thanks @jagrafft

Great work!

jagrafft commented 6 years ago

@andrewjaykeller Thank you!

OpenBCI and the WiFi Shield were a huge find for me and my lab. It's likely I'll be actively developing on the platform for the foreseeable future, and I will continue to submit pull requests as I work with the codebase(s).