m5stick No Module Named 'Hat'



  • I have an m5StickC with a speaker hat. I tried uploading a basic program from the UI Flow Desktop app to my m5Stick:

    0_1587357159479_e971eb81-34eb-46cf-8c32-4c5b176903c6-image.png

    But the m5Stick is display the error 'no module named hat'

    0_1587357242773_IMG_20200420_133302.jpg

    How can I get the m5stick to recognize the speaker hat code from UI Flow?