Does anyone with micropython knowledge see why the EMF badge would prompt an invalid syntax code in line 13, when I try to run this? Maybe it's not even on this line. I've thrown it into Mu Editor, but it wouldn't tell me anything. All indents are spaces.
https://gist.github.com/davedarko/e85d4f0c76fffd45e80228f2f217072e