Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Embeded-SCM Develop Embeded Linux

GPIO口控制类GpioControl

  • Category : Embeded Linux
  • Tags :
  • Update : 2017-07-07
  • Size : 1kb
  • Downloaded :0次
  • Author :矿石***
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
Embedded linux GPIO controller which write by myself, used in QT Widgets Application. [Tutorial] //Init object GpioControl m_gpioControl; //Init no.84 GPIO OUT m_gpioControl.Init(84); //set no.84 GPIO hIgh power level m_gpioControl.gpio_set_value(84, "1"); //set no.84 GPIO low power level m_gpioControl.gpio_set_value(84, "0"); //Init no.13 GPIO IN m_gpioControl.Init(13, false); //read no.13 GPIO power level char buf[2]; m_gpioControl.gpio_get_value(13, buf); if(buf[0] == '0') { //no.13 GPIO power level is low } else { //no.13 GPIO power level is high }
Packet file list
(Preview for download)
gpiocontrol.h
gpiocontrol.cpp
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.