• What things can generate this error?

    Is there any way that I can find out what line this is ocurring on? I have this coming up in my animation code seemingly at random, and I can't seem to figure out what is failing and returning undefined.

  • To be honest it could be anything - most likely is SPI/I2C write, or E.toXX... Something where you could feed in an array, string, or a number.

    I guess realistically this should be an exception, and then you'd get a stack trace out of it. I'll see how easy it'd be to change.

  • Ok, just changed this - so if you try and up to date build it should now fail with a stack trace pointing you to the error

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Tracking down WARNING: Expecting a number or something iterable, got undefined

Posted by Avatar for DrAzzy @DrAzzy

Actions