摘要:
how to drive a WS2812 RGB LED using PWM and DMA#include void Delay(__IO uint32_t nCount){ while(nCount--) { }}#define TIM3_CCR1_Address 0x4000043... 阅读全文
摘要:
0xWS2812 STM32 driver for WS2812(B) RGB LEDs0xWS2812 pronounced "hex-WS2812"This code aims at providing a basic interface to the WS2812(B) individuall... 阅读全文
摘要:
Auto-reload register (TIMx_ARR)The auto-reload register is preloaded.Writing to or reading from the auto-reload registeraccesses the preload register.... 阅读全文
摘要:
External Input Counter and External interrupt : count the input signal from the button.So what is the different between two methods ?While external in... 阅读全文
摘要:
阅读全文
摘要:
Bitbox : a small open, DIY 32 bit VGA consoleHi all,I've been developing a simple DIY console and a participant of the project and of this message boa... 阅读全文
摘要:
One-wire Demo on the STM32F4 Discovery BoardSome of the devs at work were struggling to get their software talking to a Dallas 1-wire device. I rememb... 阅读全文
摘要:
VGA Signal Timing640 x 350VGA 640x350@70 Hz (pixel clock 25.175 MHz)VESA 640x350@85 Hz (pixel clock 31.5 MHz)640 x 400VGA 640x400@70 Hz (pixel clock 2... 阅读全文
摘要:
VGA Output from STM32F4 Discovery boardI love the web!There are so many cool projects out there, and some, with a tweak or two,get me where I want to ... 阅读全文
摘要:
STM32通用定时器的几种配置方式//------------------------------------------------------------------------------// 1、普通定时使用#include"stm32f10x.h"#include"time.h"stati... 阅读全文
摘要:
TIMER门控模式控制PWM输出长度参照一些网友代码做了些修改,由TIM4来控制TIM2的PWM输出长度,采用主从的门控模式,即TIM4输出高时候TIM2使能输出//TIM2 PWM输出,由TIM4来控制其输出与停止//frequency_tim2:TIM2 PWM输出周期:KHz//duty_ti... 阅读全文
摘要:
Timers TIM1 and TIM8 use 16-bit counters and are the most complex timers of all timers included in the microcontroller.Timers TIM2 and TIM5 are 32-bit... 阅读全文
摘要:
STM32F103ZET6 用定时器级联方式输出特定数目的PWMSTM32F103ZET6里共有8个定时器,其中高级定时器有TIM1-TIM5、TIM8,共6个。这里需要使用定时器的级联功能,ST的RM0008 REV12的P388和P399页上有说明对于特定的定时器,怎么去选择级联功能,参见表86... 阅读全文
摘要:
使用36-pin的STM32输出VGA手头上有个项目需要通过单片机来控制将图像显示在LCD上,在网上搜了一阵子,发现都是使用的FPGA做的,开始自己对FPGA不是很熟,一直在用的也是ARM系列的,终于让我找到一份至少现在看起来还是含金量蛮高的资料,因为是英文的,这边先将它翻译一下(原文链接)。 想... 阅读全文
摘要:
彩色阴极射线管的剖面图:1.电子QIANGThree Electron guns (for red, green, and blue phosphor dots)2.电子束Electron beams3.聚焦线圈Focusing coils4.偏向线圈Deflection coils5.阳极接点An... 阅读全文