-
STM32F103 C文件
应用背景i2c2_ev_irqhandler虚空(void){无符号长last_event挥发性; ; ;last_event = i2c_getlastevent(i2c2);(如果写标志){开关(最后一个事件){/ * * / EV5 ;/ *((uint32_t)0x00030001) ;忙,MSL和某人旗* /案例i2c_event_master_mode_select: ; ; ; ; ; ; ; ; ;/ * * /主发射机----------------------------------------------/ * * * * * * * * * * * * * * * * * * *i2c_send7bitaddress(i2c2,命令,i2c_direction_transmitter);和公司;及;休息;休息;/ * * /主发射机--------------------------------------------------/ *测试i2c2 EV6和第一EV8清晰* // * * / / *(EV6(uint32_t)0x00070082) ;忙,MSL,地址,TXE和TRA标志* / ; ;案例i2c_event_master_transmitter_mode_selected:i2c_senddata(i2c2,high_add);字节数——;打破;/ *测试i2c2 EV8和清除它* // * * / / *(EV8(uint32_t)0x00070080) ;TRA,忙,MSL,TXE标志* / ; ;案例i2c_event_master_byte_transmitting:如果(byte_number = = 2){i2c_senddata(i2c2,low_add);字节数——;}打破;/ * * / / *(ev8_2(uint32_t)0x00070084) ;TRA,忙,MSL,TXE和BTF标志* /案例I2C主事件字节的传输:如果(byte_number = = 0){i2c_generatestop(i2c2,
- 2022-08-14 03:03:32下载
- 积分:1
-
Python nrf24le1/nrf24lu1p 编程器
Nrf24le1 和 Nrf24lu1P 在 ebay上可以以很小的成本建立小型传感器节点上可用的模块。
Nrf24le1 程序员命名为 nrfisp 像这一 (http://www.ebay.com/itm/NRF24lE1-NRF24LU1-NRF24LU1P-USB-Programmer-Adapter-with-Software-Video-Tutorial-/271164903768) 并没有一个 Linux 版本的软件,但被公认为 HID 设备。
此代码在 python 中的提供必要的逻辑来管理模块
使用以下命令:
-启动和停止该模块,
-擦除和编程单片机,
-读一些内存。
命令语法是非常可以理解的代码中
所需的 Python 模块是 pyusb 和 intelhex。
- 2022-08-04 08:18:10下载
- 积分:1
-
本系统利用集成智能温度传感器测量温度,采用光纤传输温度信号。系统由单片机(HT46R24)控制温度传感器(DS18B20)的温度采集。当有采集温度的指令的时候,...
本系统利用集成智能温度传感器测量温度,采用光纤传输温度信号。系统由单片机(HT46R24)控制温度传感器(DS18B20)的温度采集。当有采集温度的指令的时候,才启动温度传感器并采回其数据,在没有进行温度采集的时候,将通过抬高温度传感器的地,关断其工作电源,如此可以降低系统的功耗。系统将每一次采集回来的数据与前一次的数据比较,若温度变化超限或温升超标,立即发送上述温度值;否则,累加到采集了一定的次数,再向主机发送最新温度值。-The system uses an integrated smart temperature sensors measure temperature, using optical fiber transmission temperature signal. System consists of microcontroller (HT46R24) controlling the temperature sensor (DS18B20) the temperature of collection. When a collection of instructions, when the temperature before start-up temperature sensors and taken back to its data, collected in the absence of the temperature when the temperature sensor will raise, the turn-off the power of their work, so you can reduce system power consumption. The system will come back every time collecting data and previous data comparison, if the temperature changes or temperature exceeding overrun immediately send the temperature value otherwise accumulate to collect a certain number of times, again
- 2022-02-22 01:47:25下载
- 积分:1
-
基于89S52的和菲利普收音模块5767的收音机程序。内含自动搜索,但是需要进一步的完善,可以学习和了解I2C的通讯方式。...
基于89S52的和菲利普收音模块5767的收音机程序。内含自动搜索,但是需要进一步的完善,可以学习和了解I2C的通讯方式。-89S52-based radio module and Philip 5767 radio program. Includes automatic search, but it needs further improvement can learn and understand the I2C communications.
- 2023-05-06 08:55:03下载
- 积分:1
-
凌阳单片机的示例程序,以前学习时用过的,等以后学多了,再传一些新东西吧...
凌阳单片机的示例程序,以前学习时用过的,等以后学多了,再传一些新东西吧
-Sunplus SCM sample procedures, previous studies used, such as after school many times, send some new things you
- 2022-11-10 10:35:04下载
- 积分:1
-
u-boot 在s3c2443上的移植,讲解在移植过程中的一些方法和需要注意的地方。-u-boot in s3c2443 the transplant, the transplant process to explain some of the methods and need to pay attention to place.
- 2022-08-18 03:52:16下载
- 积分:1
-
参加今年的比赛肯定要用的。谢谢支持。祝大家好运!
参加今年的比赛肯定要用的。谢谢支持。祝大家好运!-to participate in this year"s competition sure to use. Thank you support. Luck!
- 2022-07-15 02:59:09下载
- 积分:1
-
msc1201 S THIRD PROGRAMMING
msc1201 编程3-msc1201 S THIRD PROGRAMMING
- 2022-04-24 17:57:13下载
- 积分:1
-
非常有用的自抗扰pid控制器程序。搞控制的可以看看。
非常有用的自抗扰pid控制器程序。搞控制的可以看看。- Extremely useful from anti- harasses the pid controller
procedure. Does the control to be allowed to have a look.
- 2022-03-18 00:53:35下载
- 积分:1
-
mitab使用实例导航地图
maitb实现mif文件、tab文件的矢量数据的读写问题。对导航地图的mapinfo格式的地图读出有很好的开源库, 具体的源代码可以在mitab官网上下载编译。
- 2022-03-18 17:16:11下载
- 积分:1