Arm-linux automatically collects temperature and humidity sensor data

Source: Internet
Author: User
Boot Root Automatic Login

If you want to enter in the HyperTerminal, login and execute, you can add commands in the/etc/profile;

If you implement an automatic login for power on, and modify it in/etc/inittab, each development board may be modified in a different way.

Http://blog.chinaunix.net/uid-27717694-id-3543938.html

Auto-run application on boot

Bypass login, only need to directly modify/etc/init.d/rcs a file, add a program or script command can be run automatically:

Similar to Autobat automatic batch file in Windows system, add a line in/etc/init.d/rcs

/usr/arm/./hello

Where the above application is located

Test procedure:

hello.c


Compiling #arm-linux-gcc-o Hello hello.c

Run the program regularly

Using crontab (similar to the Windows Task Scheduler service)

Http://www.cnblogs.com/gzggyy/archive/2012/08/07/2626574.html

Arm-linux automatically collects temperature and humidity sensor data

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.