-
Perfect Example for Embedded
Perfect Example for Embedded-C begineers
Explaining use of Data types, Storage class specifiers.
The following code will not immediately run. After being debugged, you are to run this code in the MPLAB environment as outlined in the procedure.
This code, when working, will be a very simple program that initializes two variables, runs a loop, and stops. The variables are Fahrenheit and Celsius representing the two common units of Temperature. The loop walks Fahrenheit through all integers between -212.0 and +212.0 while setting the respective Celsius value each step of the way.-Perfect Example for Embedded-C begineers
Explaining use of Data types, Storage class specifiers.
The following code will not immediately run. After being debugged, you are to run this code in the MPLAB environment as outlined in the procedure.
This code, when working, will be a very simple program that initializes two variables, runs a loop, and stops. The variables are Fahrenheit and Celsius repr
- 2022-03-02 19:58:08下载
- 积分:1
-
iic双机通讯
iic协议中有4种模式,我这个iic通讯是用了4种模式,主机发命令给从机,然后从机接收到命令后作出反应,比如发数据给主机,这个通讯协议是我自己拟定的!
- 2022-02-02 20:48:52下载
- 积分:1
-
温度检测SDFFSDTGDFHRTUJTYJUTYJTY
温度检测SDFFSDTGDFHRTUJTYJUTYJTY-TEMPERATUREDFYHGRTDYJFGHTRUJYTY
- 2022-05-06 07:19:19下载
- 积分:1
-
LED点阵模块4扫描驱动电路
LED点阵模块4扫描驱动电路-LED dot matrix scanning module four drive circuit
- 2022-07-12 18:18:40下载
- 积分:1
-
This is a serial debugger for beginners to use, easy to learn, I was from the be...
这是一个串口调试程序,适合新手入门使用,简单易学,本人就是从这个简单例程开始学习AVR单片机, 希望对新人有帮助-This is a serial debugger for beginners to use, easy to learn, I was from the beginning of learning this simple routine AVR microcontroller, would like to help newcomers
- 2022-02-01 03:44:38下载
- 积分:1
-
飞思卡尔循迹代码
应用背景飞思卡尔循迹代码,基于stm32的摄像头路径识别系统,用于智能小车,大家可以参考下-Based stm32 camera path identification system for smart car, we can refer to the following关键技术STM32-OV7620.main.c.swp
............data.h
............DebugExeSmartCar_5.3.0.hex
....................SmartCar_5.3.0.out
....................SmartCar_5.3.0.sim
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-01-28 07:36:25下载
- 积分:1
-
多数位分频器.............................................可直接编译
多数位分频器.............................................可直接编译-Contents Paragraphs Page majority-Frequency Divider can be directly translated .......................
- 2023-03-24 05:30:03下载
- 积分:1
-
中断总线帕雷尔港口AVR C单片机程序
interrrupt parell port avr c micom program
- 2023-05-12 21:45:03下载
- 积分:1
-
VC_ch341-i2c源码
应用背景CH341串口使用方法:
CH341实现USB转串口,在逻辑功能方面的使用方法与普通计算机串口相同。
与普通计算机串口的区别:
CH341提供的是仿真串口,所以不支持串口本身的纯硬件操作,例如I/O操作,
普通计算机串口是静态设备,而CH341串口是动态设备,理论上随时会断开,
CH341的附加功能(下面有介绍):读取外部串行EEPROM,支持更高波特率。
提供“模块调试”工具,启动后将“类型”选择为“手工输入发送”,
打开串口后就可以用于CH341串口或者普通串口的输入输出监控及收发调试。关键技术CH341连接24C0X,A2=A1=A0=GND,将仿真串口的波特率选择为300bps,
可以用串口监控/调试工具软件演示:
1、发出命令包,为4个十六进制数据: 40 A1 01 00
将24C0X中地址为01H的数据读出,可以从串口接收到一个字节的数据
2、发出命令包,为4个十六进制数据: 40 A0 2A 69
将一个字节的数据69H写到24C0X中地址为2AH的单元,通常等待10mS后才能进行下一个操作
3、发出命令包,为4个十六进制数据: 40 A5 E7 00
将24C0X中地址为02E7H的数据读出,可以从串口接收到一个字节的数据
注意,只有24C08和24C16中有地址为02E7H的数据单元
- 2022-01-25 19:10:34下载
- 积分:1
-
本人是基于SPI的GUI开发,开发工具是CodeWarrior for ARM Developer Suite即ADS。...
本人是基于SPI的GUI开发,开发工具是CodeWarrior for ARM Developer Suite即ADS。-I is based on the SPI
- 2023-06-23 23:35:04下载
- 积分:1