monteslu / ble-serial

a node-serialport implementation using BLE for sending and receiving serial data.
17 stars 5 forks source link

add debug module for logging. update example #1

Closed soundanalogous closed 8 years ago

soundanalogous commented 8 years ago

I added the debug module to manage logging. To run with logging, run as: DEBUG=etherport-client node wifi-test.

Also updated firmataExample.js.

monteslu commented 8 years ago

thanks!
Version bumped and published.

soundanalogous commented 8 years ago

np. One cool thing I just noticed about the debug module I added is that it logs the time in ms between calls to debug. Useful for looking at latency, etc.