You are reading a single comment by @barrier and its replies. Click here to read the full conversation.
  • That's an issue with default parameter values. Online, the actual code uploaded by the IDE is the minified one but that doesn't have the default parameter value.

    As a workaround, change the MPU6050.prototype.setMemoryBank = function(bank, prefetchEnabled=false, userBank=false) { line to MPU6050.prototype.setMemoryBank = function(bank, prefetchEnabled, userBank) {

About

Avatar for barrier @barrier started