Comments: SparkFun Top pHAT Hookup Guide


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Member #1597793 / about 4 years ago / 2

    Nice tutorial, worked well and I was able to get the pHAT working. Thank you.

  • -------------------- Tech Support Tips/Troubleshooting/Common Issues --------------------

    Error Running WS2812B LED Examples

    If you receive the following error indicating that board was not recognized when using the adafruit Python Package, it has something to do with the Python version that you are using:

    Traceback (most recent call last):
      File "", line 2, in <module>
          import board
    ImportError: No module named board

    Make sure that you set your IDE up to use python3 specifically when trying to run the LED examples from the editor or CLI.

    I was using the Geany IDE to modify some code when I received the error above. Simply, head to Tools > Set Build Commands in the menu. Then edit the Execute command by changing the following command:

    python "%f"


    python3  "%f"

    Then click the OK button to save the changes.

  • faeranne / about 4 years ago / 1

    Looks like fbtft_device has been removed from linux as of 5.4, so the lcd screen will no longer work with the current instructions.

    • santaimpersonator / about 4 years ago / 1

      We have updated the tutorial to adjust for the changes.

  • Member #1373549 / about 4 years ago / 1

    Problems with the WM8690. Problems with the buttons, maybe some hardware problems because the software example 1 & 2 should work. I ordered two hats so i will test the second one tomorrow

    • santaimpersonator / about 4 years ago / 1

      Hi there, it sounds like you are looking for technical assistance. Please use the link in the banner above, to get started with posting a topic in our forums. Our technical support team will do their best to assist you.

      That being said, double check that you have enabled the I2C bus in the preferences.

If you've found an issue with this tutorial content, please send us your feedback!