Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to realize Test Led Lamp based on QtE4.7

Shulou Source: shulou.com Published: 2022-06-01 13:28:32 10月01日 Update

This article mainly explains "how to achieve test Led light based on QtE4.7", the content of the article is simple and clear, easy to learn and understand, now please follow the editor's train of thought slowly in depth, together to study and learn "how to test Led light based on QtE4.7"!

Based on QtE4.7, the development board of iTOP-4418

Enter the command "vi etc/init.d/rcS" in HyperTerminal to switch to qtopia startup, as shown in the following figure.

After reboot, use the command "mknod / dev/sda1 b 8 1" in HyperTerminal to create the device section of the U disk.

Point.

As shown in the following figure, use the command "mount / dev/sda1 / mnt/udisk/" to mount the U disk.

As shown in the following figure, modify the permissions of the test program. In HyperTerminal, enter the modify permission command "chmod 777 LEDs"

In HyperTerminal, enter the run command "leds-qws", as shown in the following figure.

The running result is shown in the following figure, and the led light of the development board can be controlled by LED1.

Thank you for reading, the above is the content of "how to test Led lights based on QtE4.7". After the study of this article, I believe you have a deeper understanding of how to test Led lights based on QtE4.7, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Tests commands terminals learning input content permissions development running that is ideas situations articles more knowledge knowledge points programs articles results nodes Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Docker Shulou Tech Info Linux Shulou Technology