-
此函数把SPI的读写功能集成在一块,传递的val既是向SPI写的数据,也是从SPI读取的数据,只需要在执行读或写之前把MCU的I/O脚设置成相应的输出或输入即可
此函数把SPI的读写功能集成在一块,传递的val既是向SPI写的数据,也是从SPI读取的数据,只需要在执行读或写之前把MCU的I/O脚设置成相应的输出或输入即可。(因为在大部分应用中,是把SPI的DI和DO相连并用MCU的一个IO口来读写)。-This function of the SPI read and write functionality into a single, transmission of val is not only written to the SPI data is read from the SPI data, only need to read or write in the implementation prior to the MCU
- 2022-08-26 07:54:21下载
- 积分:1
-
avr入门用的 有protus仿真图
avr入门用的 有protus仿真图
-avr entry has protus simulation used in Figure
- 2023-03-26 18:30:05下载
- 积分:1
-
这是单片机C语言位操作函数!给大家参考使用,可以直接在单片机中引用,不需要自己去编写,弥补了C语言位操作没有汇编灵活的缺点...
这是单片机C语言位操作函数!给大家参考使用,可以直接在单片机中引用,不需要自己去编写,弥补了C语言位操作没有汇编灵活的缺点-This is the C language SCM- manipulation functions. For your reference use, can be directly invoked in SCM, you do not need to do to prepare. compensate for the C-language compilation flexible operation without the shortcomings
- 2022-12-11 03:00:03下载
- 积分:1
-
Motorola MCU HC08下的uCOSII移植源代码,刚刚完成。附用户应用程序测试,稍加修改可以增加自己功能。...
Motorola MCU HC08下的uCOSII移植源代码,刚刚完成。附用户应用程序测试,稍加修改可以增加自己功能。-HC08 Motorola MCU under uCOSII transplant source code, has just been completed. A user application procedures for the testing, a little change can increase their functionality.
- 2022-04-27 04:08:57下载
- 积分:1
-
Using L298 as the drive to control two
用L298作为驱动器,控制两相混合式步进电机。
按键从上至下分别为减速,加速,正转,反转,停止。
具体参数还没有设定过。速度有些慢,加速按2下有效,然后就不能再快了。
转速输出是按照最小系统版的数码管写的。电路图里太麻烦就没画了。-Using L298 as the drive to control two-phase hybrid stepping motor. Buttons from top to bottom respectively, deceleration, acceleration, are being transferred, reverse, stop. Specific parameters have not yet been set. Some of the slow speed, speed up by 2, effectively, and then can not be faster. Speed output is in accordance with the minimum system version of the digital tube wrote. Circuit where not too much trouble drew.
- 2022-04-23 14:56:47下载
- 积分:1
-
一种单片机控制电饭煲预约和智能煮饭系统的实现源代码!
一种单片机控制电饭煲预约和智能煮饭系统的实现源代码!-A single-chip control and smart electric rice cooker to cook a meal reservation system source code!
- 2023-03-06 04:45:04下载
- 积分:1
-
秒表C51程序,包含键盘扫描, 在数码管上显示各个数字, 使用80C51单片机
秒表C51程序,包含键盘扫描, 在数码管上显示各个数字, 使用80C51单片机-stopwatch C51 procedures, keyboard scanning, digital control in the various figures show that the use of 80C51 microcontroller
- 2022-02-05 09:27:52下载
- 积分:1
-
PIC16F877A动态数码管扫描C程序
PIC16F877A动态数码管扫描C程序-PIC shumaguan
- 2022-03-23 16:37:50下载
- 积分:1
-
LED的亮度渐变驱动程序,可以调节LED 的亮度,并且在AVR单片机上实现...
LED的亮度渐变驱动程序,可以调节LED 的亮度,并且在AVR单片机上实现-Gradient brightness LED driver can adjust the LED brightness, and realize in the AVR Single Chip
- 2022-12-07 05:00:02下载
- 积分:1
-
C8051F340单片机对其内部flash进行单字节读写,以及对多字节的读写,拷贝,擦除,修改...
C8051F340单片机对其内部flash进行单字节读写,以及对多字节的读写,拷贝,擦除,修改-C8051F340 MCU its internal flash to single-byte read and write, as well as multi-byte read and write, copy, erase, modify
- 2022-01-21 18:11:01下载
- 积分:1