Skip to content

sunfounder/fusion-hat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fusion Hat

Fusion Hat Python library for Raspberry Pi.

Quick Links:

About Fusion Hat

Fusion HAT is a multifunctional expansion board that allows Raspberry Pi to be quickly turned into a robot. An MCU is on board to extend the PWM output and ADC input for the Raspberry Pi, as well as a motor driver chip. I2S audio module and mono speaker. As well as the GPIOs that lead out of the Raspberry Pi itself.

Installation

Install Fusion Hat

curl -sSL https://raw.githubusercontent.com/sunfounder/sunfounder-installer-scripts/main/install-fusion-hat.sh | sudo bash

After install finished, please reboot your Raspberry Pi. After reboot, Run this command again to enable audio

sudo /opt/setup_fusion_hat_audio.sh

Create docs

API reference is auto generated by Sphinx. But you need to create rst file manually.

cd docs
sphinx-apidoc -f -d 1 -e -M -P -T -o source/api ../fusion_hat
  • -f Force to overwrite existing files.
  • -d 1 Set the maximum depth of the module documentation.
  • -e put documentation for each module on its own page.
  • -M put module documentation before submodule documentation.
  • -P include "_private" modules.
  • -T don't create a table of contents file.
  • -o source/api Specify the output directory for the generated rst files.
  • ../fusion_hat Specify the path to the fusion_hat package.

Debug record

sudo pip uninstall --break fusion_hat -y && sudo pip install --break git+https://github.com/sunfounder/[email protected]
sudo pip uninstall --break fusion_hat -y && sudo pip install ~/fusion-hat/ --break-system-packages --no-deps --no-build-isolation
sudo pip install ~/fusion-hat/ --break-system-packages --no-deps --no-build-isolation
cd ~/fusion-hat/driver && make all && sudo make install
cd ~/fusion-hat/examples

About SunFounder

SunFounder is a technology company focused on Raspberry Pi and Arduino open source community development. Committed to the promotion of open source culture, we strives to bring the fun of electronics making to people all around the world and enable everyone to be a maker. Our products include learning kits, development boards, robots, sensor modules and development tools. In addition to high quality products, SunFounder also offers video tutorials to help you make your own project. If you have interest in open source or making something cool, welcome to join us!


Contact us

website: www.sunfounder.com

E-mail: [email protected], [email protected]

About

Fusion Hat Python library for Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 12