I had great luck with my first Mpy app using this style example code.
My second attempt at PWM stuff didn't work, so I looked for more examples, like "lux1.mpy" which seemed to be a great example for what I needed.
But, except for:
all other lines result in "undefined reference" when trying to compile.
I don't understand how/where these included files come from, or why these examples don't work.
Can anyone shed some light on how to get "lux1.mpy" to work?