-
STM8-USB源代码
应用背景USB是串口通信协议,现在已经非常广泛应用,每个pc机都有USB借口。stm8-usb可用在电脑USB借口上,降低成本,减少开发时间。是单片机爱好者最好的练手代码。关键技术stm8-usb下载编译后就能运行,里面代码全面,可根据需要自己改编。
extern void usb_tx(void);
uint8_t usb_rx_buffer[16];
uint8_t * usb_tx_buffer_pointer;
uint8_t usb_tx_count;
uint8_t usb_rx_count;
函数可直接调用
- 2022-09-20 06:15:02下载
- 积分:1
-
freescale ep100CAN程序,代码已经经过调试。
freescale ep100CAN程序,代码已经经过调试。-freescale ep100CAN program, the code had already been debugging.
- 2022-01-25 20:06:16下载
- 积分:1
-
ds1302+1602shizh0ng.含闹钟
#include //包含单片机寄存器的头文件
#include //包含_nop_()函数定义的头文件
unsigned char code digit[10]={"0123456789"}; //定义字符数组显示数字
sbit SCLK=P2^5; //位定义1302芯片的接口,时钟输出端口定义在P1.0引脚
sbit DATA=P2^6; //位定义1302芯片的接口,数据输出端定义在P1.1引脚 I/O
sbit RST=P2^7; //位定义1302芯片的接口,复位端口定义在P1.2引脚 CE
sbit s1=P1^0; // 时间移位
sbit s2=P1^1; // 时间加
sbit s3=P1^2; //时间减
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-01 14:54:39下载
- 积分:1
-
Circuit schematic circuit schematic circuit schematic circuit schematic
电路原理图 电路原理图 -Circuit schematic circuit schematic circuit schematic circuit schematic
- 2022-02-13 23:46:07下载
- 积分:1
-
延迟网络协议
基于Contiki OS的基础上,构建一个延迟网络协议,在移动网络中,经过多跳可以到达目的地(参考SPRAY AND WAIT 算法)
- 2023-01-09 12:20:04下载
- 积分:1
-
Chinese ADS1.2 Guide EASYARM development board for code development
ADS1.2中文教程
适合EASYARM开发板的代码开发-Chinese ADS1.2 Guide EASYARM development board for code development
- 2022-10-16 15:30:03下载
- 积分:1
-
安腾通过串口源系列燃烧
at91系列通过串口烧写源程序-Itanium series of burning through the serial port source
- 2022-11-18 05:40:03下载
- 积分:1
-
scheduler 任务调度源码
scheduler 任务调度源码,C语言。
- 2022-07-17 23:13:20下载
- 积分:1
-
ads mpc860上hdlc的驱动程序,不带操作系统,属于纯粹的物理驱动...
ads mpc860上hdlc的驱动程序,不带操作系统,属于纯粹的物理驱动-hdlc up ads mpc860 driver, non-operating system, belong to a purely physical drive
- 2022-10-21 23:55:02下载
- 积分:1
-
MiniWeb 在嵌入式平台上运行的WEB源代码
MiniWeb 在嵌入式平台上运行的WEB源代码-MiniWeb in embedded platforms running on the Web source code
- 2022-07-10 17:37:09下载
- 积分:1