New features for Top board on Pi 5

Hi

I modified the main.py, fan.py, misc.py and oled.py to be able to:

  1. Show SSD temperatures on screen
  2. Show RAID usage on screen
  3. Be able to control fan based also on SSD temperatures.
1 Like

Hello elranchero,

they are good updates. Question following a previous post that hasn’t attracted much interest; have you got the button working - and if so how? I note the code still uses this (ln 160 misc.py):

line.request(consumer='hat_button', type=gpiod.LINE_REQ_DIR_OUT)

Is there some gpio trick that I am missing - I can’t see how an output line will work as a button input?

Regards

PiPPiP

I fixed something on the fan.py and it works for me.
Check the video on the github repository, I replied to you on your issue raised there.