![]() ![]() Take PWM1 which is connected to the cooling fan as an example, you can enable the fan with the following code: echo 1 > /sys/class/pwm/pwmchip0/exportĮcho 1000000 > /sys/class/pwm/pwmchip0/pwm1/periodĮcho 1000000 > /sys/class/pwm/pwmchip0/pwm1/duty_cycleĮcho 1 > /sys/class/pwm/pwmchip0/pwm1/enable Sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq PWM If it boots successfully, then you can check the following values to confirm that it has been successfully overclocked: Note that there is a chance that it will not boot after this modification, and then you need to re-burn the firmware to recover. The LicheePi 4A has 2x10pin pins on board with 16 native IOs, including 6 normal IOs, 3 pairs of serial ports, and one SPI.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |