WLAN-Pi / wlanpi-hwtest

hwtest drives a suite of tests to determine diagnostic health for WLAN Pi Pro hardware.
Other
1 stars 0 forks source link

Additional fan testing #45

Closed joshschmelzle closed 2 years ago

joshschmelzle commented 2 years ago

When the fan test is run, enable the fan:

Fan on
raspi-gpio set 26 op pd dh

When hwtest stops, disable the fan:

Fan off
raspi-gpio set 26 op pd dl
joshschmelzle commented 2 years ago

In bdf1089 I added a test_turn_on_fan() which turns the fan on and then sleeps for 5 seconds. The next test is test_turn_off_fan(), which as the name implies, turns the fan off.