码迷,mamicode.com
首页 >  
搜索关键字:led gpio    ( 7981个结果
ADC相关
ADC初始化要做的一些事情void Adc_Init(void){ GPIO_InitTypeDef GPIO_InitStructure; ADC_CommonInitTypeDef ADC_CommonInitStructure; ADC_InitTypeDef ...
分类:其他好文   时间:2015-08-11 11:59:36    阅读次数:206
2、跑马灯测试程序(设置一定范围的gpio)
C:\Users\LiTao\Desktop\儿童智能硬件资料\nrf51822\nRF51822EK_TM配套资料\EK_TM测试程序\跑马灯测试程序 1 int main(void) 2 { 3 uint8_t output_state = 0; 4 5 // Configure LE...
分类:其他好文   时间:2015-08-11 07:04:31    阅读次数:154
1、第一个程序控制LED(包括如何烧写程序)
C:\Keil-ARM\ARM\Device\Nordic\nrf51822\Board\pca10001第一个程序控制LEDC:\Keil-ARM\ARM\Device\Nordic\nrf51822\Board\pca10001\blinky_example32页介绍如何烧写程序只要连接一个mi...
分类:其他好文   时间:2015-08-11 06:55:08    阅读次数:212
KEIL_MDK 错误及解决(待续)
compiling main.c.....\HARDWARE\led.h(11): warning: #1-D: last line of file ends without a newline #endifmain.c(19): warning: #1-D: last line of fil...
分类:其他好文   时间:2015-08-10 18:00:24    阅读次数:154
1、点亮第一个灯
I:\CC2540开发\AmoMcu-CC254x开发套件资料-2014年05月\4.初级基础实验-11.30\4.初级基础实验\1.Led闪烁_流水灯\Test把CC-debug和开发板连接好,电源线和数据线连上(之前看完了用户手册后面的东西)点击XXX.ewp在IAR中打开点击绿色箭头后进入de...
分类:其他好文   时间:2015-08-09 22:12:43    阅读次数:205
STM32F4 Alternate function mapping
#define GPIO_AF0_MCO // MCO (MCO1 and MCO2) Alternate Function mapping#define GPIO_AF0_RTC_50Hz // RTC_50Hz Alternate F...
分类:移动开发   时间:2015-08-09 01:42:54    阅读次数:1035
arduino 用电位器调节LED闪烁频率
int dianwei;int led = 13;void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(led,OUTPUT);}void loop() { // put your m...
分类:其他好文   时间:2015-08-08 11:50:06    阅读次数:107
GPIO
最新版的uhd/host中提供了对GPIO操作的接口,在multi_usrp.cpp中如下定义: void set_gpio_attr(const std::string &bank, const std::string &attr, const boost::uint32_t value, const boost::uint32_t mask, const size_t mboard)...
分类:其他好文   时间:2015-08-06 22:25:13    阅读次数:230
zedboard中断main
//Description:         Zed LED DimmerExample //Revision:            Oct 25, 2013: 1.00Initial version //---------------------------------------------------------------------------- /***************...
分类:数据库   时间:2015-08-05 22:30:29    阅读次数:247
zedboard的板级支持包GPIO例子
板级支持包例子 xgpio_example.c This file contains a design example using the GPIO driver(XGpio) and hardware * device.  It onlyuses a channel 1 of a GPIO device. * * This example can be ran on the Xi...
分类:数据库   时间:2015-08-05 22:29:53    阅读次数:264
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!