. Turn off the power supply in case of wiring. The p9_1 is a 3.3V power supply with the p9_13 (GPIO number 31) as the control signal output: One boot you will find that the LED is on. Enter the system operation SYSFS, as follows: When you change the direction to out, the light goes out and the value is zero. Turn the value to 1 and the light will light up again. I am not satisfied with the result. Again,
Recently started Orangepi Zero piece, the program needs to use the board's own LED lights, on-line a check, have to say that OPI support and Raspberry Pi can not compare. Oneself groped for a moment, realizes the simple Gpio control method, the author's Zero installs is the Armbian system, uses the python to write a read and write registers the simple module, through this module, can realize to the
This article was reproduced from: http://m.blog.csdn.net/kris_fei/article/details/69553422Platform:rockchipOs:android 6.0kernel:3.10.92Because the board does not have LCD can not know the SD card upgrade is completed, so use LED display.Control the Gpio output high-lit LEDs after the upgrade is complete in the recovery.system comes with Gpio control driver:The ke
Based on the Barrierbreaker version, the description is based on the AR9331 AP121 demo veneer1. LampA. In mach-ap121.c, the definition of the gpio corresponding to the lamp is defined:#define Ap121_gpio_led_wlan0#define Ap121_gpio_led_usb1and defines the GPIO structure object for the lamp:static struct gpio_led ap121_leds_gpio[] __initdata = {{. Name= "Ap121:green:usb",.
Lesson 7 on BBB Board: gpio Programming Control
In the first class, we made a simple gpio port output high and low level output through the IO function to enable and disable the control of an LED indicator. This section uses the complete C ++ program, implement all the functions of the shell script in Lesson 4 to enabl
Transfer to electronic technology forum: http://bbs.topeetboard.comWhen a GPIO register is converted through the Ioremap function, it is possible to control the physical address (the actual address of the register) by directly controlling the virtual address, thus realizing the Gpio read and write and any other functions.Basic knowledge RequiredVirtual Address an
Original: Win10 IoT C # development 3-gpio Pin control Light Emitting diodeWindows IoT Core is one of Microsoft's key products for the internet of things, and unlike previous versions of Windows, it is designed for IoT devices, and hardware is not limited to the x86 architecture, but can also be run on an arm architecture.In the previous article, we described in detail the process of installing the Raspberr
There are four small LED lights on the tianembedded 2440 Development Board. The random band test software is developed using C ++. However, I prefer the C # language, so through the analysis of the BSP package of tq2440, the four small LED lights are controlled through gpio ports. Therefore, as long as the C # is used to control the gpio port, it can make the LED
the Visual Studio 2015 development environmentRed, yellow, green 3 colors of light-emitting diodes220R ResistorGPIO Expansion BoardIDC LineDuPont LineBread Plate1. Installing componentsThe Gpio expansion board is first installed on the breadboard and then connected to the Gpio interface of the Raspberry Pi 2 via the IDC cable.The following start to connect the light-emitting diode, in order to ensure that
I. The GPIO control of MTK Platform
GPIO configuration in the 1.1 kernel
Set Gpio18 to Gpio mode
Mt_set_gpio_mode (GPIO18, Gpio_mode_gpio);
Set GPIO18 orientation to Out
Mt_set_gpio_dir (GPIO18, gpio_dir_out);
Set Gpio18 height
Mt_set_gpio_out (GPIO18, Gpio_out_one); Low is zero
1.2 Upper level application
/**************************************************************************************** * OK 335xS u-boot Gpio Control hacking * Declaration: * This article is mainly to track how to set the GPIO port level in U-boot. * 2015-9-26 Sunny Shenzhen Nanshan Ping Shan village Zengjianfeng ******************************************** **********************************
Someone in the Forum said they wanted to get a car with the infrared control gpio and asked me how to get it. I wrote this post.I soldered four LEDs on the gpio port, representing the upper, lower, and lower layers.You can not only control gpio, but also execute any shell.It
The GPIO pin has two modes board and BCM.1.GPIO output Control LED: Code: (1) Using board mode, GPIO.setmode(GPIO.BOARD) . Pin 35th is GPIO19 under BCM.(2) Set pin 35 to output mode,GPIO.setup(35,GPIO.OUT)(3) on the GPIO35 pin output high level, can also be Gpio.high2.GPIO interface for input signal: Circuit dia
Mobile phone Bluetooth control relay wireless lock Iot Android source code android development Android WIFI control detailed annotation test stability no bug, android Android
I. functions:
1. Connect and disconnect Android WIFI, and save the connection IP address and port.
2. WIFI Control 3 Relays
3.16 sending commands
If you are developing your own board, you need to use the GPIO pin to control the 3G module boot/shutdown, the following article will be helpful to you, is the processor IMX6 and ZTE MG3732 module as an example.One, pin connectionThe processor's gpio3_gpio[9] connects the on/off (29) pin of the 3G module to control the power on/off of the 3G.Second, switch machin
used for control), gonadat is useless.
Portb ~ Porth/J perform identical operations on registers. Each two bits of gpxcon correspond to one pin:
00 -- input. 01 -- output. 10 -- special features. 11 -- reserved.
2. gpxdat register:
Gpxdat is used for read/write pins. When the gpxcon register is configured to set a pin as the input, read this register to learn the changes to the corresponding PIN. When the gpxcon register is configured to set a
GPIO control of AM335X in linux
Author: chenzhufly QQ: 36886052 (reprinted please indicate the source)Along the way, I am familiar with the hardware system, set up the software development environment, compile the Linux system, and so on. Now I should do some things on the hardware. This is my research experience over the past few days and I will share it with you.
1. G
Reprint please indicate the source, thank you.Raspberry Pie provides the Python language implementation of the Gpio control pack, detailed description of the visible http://maxembedded.com/2014/07/using-raspberry-pi-gpio-using-python/#PinConfig. First in the system to open the terminal to perform Python check whether the Python and Python version is installed 2 o
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.