Location:
Search - LED stm32
Search list
Description: 使用硬件SPI接口与74HC595连接,控制74HC595驱动8个LED流水灯显示。-use of hardware and Bit SPI interface connectivity, control Bit-eight LED lights indicate water.
Platform: |
Size: 45056 |
Author: 伤坠人 |
Hits:
Description: This example project shows how to use the IAR Embedded Workbench for ARM
to develop code for the IAR-STM32-SK evaluation board. It shows
basic use of I/O, timer and the interrupt controllers.
Displays running lights on the board LED s.-This example project shows how to use the IAR Embedded Workbench for ARM to develop code for the IAR-STM32-SK evaluation board. It shows basic use of I/O, timer and the interrupt controllers. Displays running lights on the board LED s.
Platform: |
Size: 459776 |
Author: HJ |
Hits:
Description: 基于STM32系列的程序包,包括SPI,ADC,CAN-Based on the STM32 family package, including SPI, ADC, CAN
Platform: |
Size: 995328 |
Author: shina |
Hits:
Description: STM32固件库(中文),包含STM32库文件中所有标准函数-STM32 firmware library (in Chinese), STM32 library file that contains all the standard functions
Platform: |
Size: 1878016 |
Author: 王天英 |
Hits:
Description: 万利stm32开发板上的led例程,适合新手入门-Manley panel led development stm32 routines, suitable for beginners
Platform: |
Size: 139264 |
Author: whl |
Hits:
Description: 本例展示了如何设置TIM工作在输出比较-非主动模式(Output Compare Inactive mode),并产生相应的中断。
TIM2时钟设置为36MHz,预分频设置为35999,TIM2计数器时钟可表达为:
TIM2 counter clock = TIMxCLK / (Prescaler +1) = 1 KHz
设置TIM2_CCR1寄存器值为1000, CCR1寄存器值1000除以TIM2计数器时钟频率1KHz,为1000毫秒。因此,经过1000毫秒的时延,置PC.06输出为低电平。
同理,根据寄存器TIM2_CCR2 、TIM2_CCR3和 TIM2_CCR4的值,经过500毫秒的时延,置PC.07输出为低电平;经过250毫秒的时延,置PC.08输出为低电平;经过125毫秒的时延,置PC.09输出为低电平。
输出比较寄存器的值决定时延的大小,当计数器的值小于这个值的时候,点亮与PC.06-PC.09相连的LED;当计数器的值达到这个值得时候,产生中断,在TIM2的4个通道相应的中断里,把它们一一关闭。-err
Platform: |
Size: 218112 |
Author: chen |
Hits:
Description: 本例展示了如何使用嵌套中断向量控制器(Nested Vectored Interrupt Controller)来设置IRQ通道。
把3个计时器(TIM2,3,4)设置为在每一个计数器更新事项(counter update event)产生中断。这三个计时器都与各自对应的更新IRQ通道联系起来,并设置他们的中断优先级,TIM2为0,TIM4为2。
在他们各自的中断中:TIM2每1秒翻转一次PC.06的状态;TIM3每2秒翻转一次PC.07的状态;TIM4每3秒翻转一次PC.08的状态。
由于在STM3210B-LK1板上, 4个LED连接在PC.04 – PC.07,而不是STM3210B-EVAL上的PC.06 – PC.09,因此,程序要做相应的改动。-This example demonstrates how to use the nested vector interrupt controller (Nested Vectored Interrupt Controller) to set the IRQ channel. The three timers (TIM2, 3,4) is set to update a counter in each matter (counter update event) generate an interrupt. The three timers are updated with their corresponding IRQ channel link and set up their Interrupt Priority, TIM2 to 0, TIM4 to 2. In their respective interrupt in: TIM2 once every 1 seconds flip PC.06 state TIM3 once every two seconds flip PC.07 state TIM4 once every three seconds flip PC.08 state. As STM3210B-LK1-board, 4 LED connected PC.04- PC.07, rather than STM3210B-EVAL on PC.06- PC.09, therefore, corresponding changes to procedures to be done.
Platform: |
Size: 247808 |
Author: chen |
Hits:
Description: STM32的定时器例程,使用ST的V2.0版固件库,开发平台为MKD。-STM32 timer routines, use the ST version of the V2.0 firmware libraries, the development platform for the MKD.
Platform: |
Size: 310272 |
Author: Scott |
Hits:
Description: stm32 LED程序可以直接使用LED简单程序-stm32
Platform: |
Size: 239616 |
Author: zsh |
Hits:
Description: stm32 bootlader under linux
Platform: |
Size: 35840 |
Author: sena |
Hits:
Description: stm32芯片 KERIL 3.0 ucosii
功能实现: GPIO LED测试 STM32 USB部分驱动数据-stm32 chip KERIL 3.0 ucosii function realization: GPIO LED Test STM32 USB part of the driver data
Platform: |
Size: 836608 |
Author: 李冲 |
Hits:
Description: STM32网页控制LED,通过网叶控制LED-STM32 web to control LED, leaf through the network control LED
Platform: |
Size: 138240 |
Author: hyue |
Hits:
Description: STM32的最简单的入门例程.帮助快速学习了解STM32芯片-STM32 easiest entry routines. Help quickly learning to understand the STM32 chip
Platform: |
Size: 3551232 |
Author: 长云 |
Hits:
Description: STM32的网页控制LED程序,网络IC是ENC28J60,可通过网网页控制LED-STM32 web control LED program, the network IC is ENC28J60, LED control through web pages
Platform: |
Size: 899072 |
Author: LLL |
Hits:
Description: stm32f103单片机的LED编程 详细测试-stm32f103 microcontroller programming detailed testing of real-time clock
Platform: |
Size: 1339392 |
Author: 王纲 |
Hits:
Description: STM32开放版驱动网页控制LED。stm32103vb-STM32 Web control LED
u8 enc28j60ReadOp(u8 op, u8 address)
{
u8 dat = 0
ENC28J60_CSL()
dat = op | (address & ADDR_MASK)
SPInet_ReadWrite(dat)
dat = SPInet_ReadWrite(0xFF)
// do dummy read if needed (for mac and mii, see datasheet page 29)
if (address & 0x80)
{
dat = SPInet_ReadWrite(0xFF)
}
// release CS
ENC28J60_CSH()
return dat
}
Platform: |
Size: 831488 |
Author: xunyao |
Hits:
Description: STM32所有开发例子程序.RAR
GPIO_out 8个led闪烁 注意:接跳线D1_CS, D2_CS,
LCD 液晶上显示英文字符
LCD_汉字 液晶上显示汉字
LCDBMP 液晶上显示图片
ADC 液晶上显示采的电压值
SDcard SD卡上建立一个文件
UART 串口发送字符在液晶上显示
RTC 液晶上显示时间
ExIRQ 外部中断,S2给中断信号
Timer 定时
CAN CAN总线-STM32 example of all development programs. RAR GPIO_out 8 个 led flashing Note: jumper D1_CS, D2_CS, LCD liquid crystal display English characters LCD_ Chinese LCD display Chinese characters on the LCD display LCDBMP picture displayed on the LCD ADC voltage mining SDcard SD Card UART serial port on a file to send characters on the LCD display on the LCD display the time ExIRQ RTC external interrupt, S2 Timer timer interrupt signal to the CAN CAN-bus
Platform: |
Size: 6478848 |
Author: 唐成卫 |
Hits:
Description: 1.STM32 GPIO管脚配置
2.点亮发光二极管(1.STM32 GPIO pin configuration
2. Light the light emitting diode)
Platform: |
Size: 3030016 |
Author: sungoing
|
Hits:
Description: 使stm32单片机的LED灯按递增方式交替闪烁(STM32 microcontroller LED lights flashing alternately in increments)
Platform: |
Size: 547840 |
Author: 屋恩
|
Hits:
Description: 点亮LED的小程序,控制STM32。用C语言编写(Control STM32 to light LED by VC++.)
Platform: |
Size: 20200448 |
Author: wdwood |
Hits:
« 12
3
4
5
6
7
8
9
10
...
36
»