Support Arduino debug output

@ImpulseAdventure ImpulseAdventure released this Jan 10, 2017 · 7 commits to master since this release

  • Add: InitDebug() to support redirection of debug output to Serial / stderr
  • Change: debug_print() renamed to GSLC_DEBUG_PRINT()
  • Change: Improved RAM consumption on Arduino
  • Change: Example code enables debug output, cleaned up error handling
  • Change: Enable debugging output by default in Config (DEBUG_ERR 1), set to 0 to reduce memory
  • Migration Notes (from 0.8.2):
    • To enable debug output:
      • Add user DebugOut() function
      • Call gslc_InitDebug() at start of code
      • Please refer to example code for details

Downloads