登录
首页 » c » PSX/PS2手柄与单片机间的通信

PSX/PS2手柄与单片机间的通信

于 2022-02-06 发布 文件大小:405.72 kB
0 148
下载积分: 2 下载次数: 1

代码说明:

数字摇杆手柄使用SPI串行通信与上位机进行通讯(在通讯过程中的角色为:下位机),而AVR单片机集成了SPI串行总线。这可以很方便地使用单片机的硬件资源实现单片机与数据摇杆手柄之间的通讯,而非使用软件模拟来实现单片机读取数字摇杆手柄。这不仅提高了程序运行的效率、运行的稳定,并且也使得程序更简短。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • code
    在给定字符串中找出单词( “单词”由小写字母字符大写字母和构成,其他非字母字符视为单词的间隔, 如、问空格号、数字等等;另外单个字母不算单词);找到单词后,按照长度进行降序排序, (排序时如果长度相同,则按出现的顺序进行排列),然后输出到一个新的字符串中;如果某个单词重复出现多次, 则只输出一次;如果整个输入的字符串中没有找到单词,请输出空串。输出的单词之间使用一个“空格”隔开, 最后一个单词后不加空格。(Identify the word (" word" character from the uppercase and lowercase letters constituted, other non-alphabetic characters as word spacing, such as asking a space number, number, etc. another is not a single letter word) in a given string find words after descending order according to length, (if the same length, the order stated that appears when sorting arranged), and then output to a new string If a word is repeated several times, only output once If the entire input string is not found in word, outputs an empty string. Used between the output of a word " space" separated, no spaces after the last word.)
    2014-02-23 00:19:04下载
    积分:1
  • 计算一个整形数组a的最长递增子序列长度的方法
    假设数组a的长度为n,用数组b的元素b的元素b[i]记录以a[i](0
    2022-04-20 15:08:10下载
    积分:1
  • LSM_Match_2010-5-1
    说明:  最二小乘影像匹配,精度可以达到0.01个像素,也可以最二小乘影像模板匹配。经过修改后可以直接用,只要调用一个函数就搞定,函数参数的说明很清楚,绝对不会有任何困难,非常好用。(Most two Theravada image matching accuracy can reach 0.01 pixel images can also be the most two Theravada template matching. After modifications can be directly used, as long as is you call a function, function parameters, the description is clear and will not have any difficulties, very easy to use.)
    2010-04-30 16:42:22下载
    积分:1
  • 6-res
    基于热敏电阻电路仿真 proteus 仿真 基于热敏电阻电路仿真 proteus 仿真(re min dian zu fang zhen re min dian zu fang zhen re min dian zu fang zhen re min dian zu fang zhen)
    2015-05-04 22:36:32下载
    积分:1
  • 全景视频播放器
    。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
    2022-04-02 04:14:57下载
    积分:1
  • cppfrance_MINI-COMPILATEUR-CPLUSPLUS-ANALYSE-LEXI
    compilateur de code source
    2011-12-30 07:19:40下载
    积分:1
  • vc++6.0Socket
    这是一本网上很流行的介绍vc++网络编程的电子书,里面的内容很详细!大家要好好学习啊 !(This is a very popular online introduction vc++ Network programming e-books, which detail the content! Everyone to study hard ah!)
    2020-06-26 03:40:02下载
    积分:1
  • fastica1
    很清晰的fastica算法,主要是有关主元分析的程序,很好的,自己编的,有不会的 可以咨询(it s a progress which is fastica)
    2013-09-13 23:41:08下载
    积分:1
  • 车辆跟踪系统
    基于C++的车辆跟踪系统在本系统中会对道路上的车辆进行跟踪。我们修改了APRS系统。本系统还有一个数据库。
    2022-08-09 03:19:43下载
    积分:1
  • fuzzysketch
    Fuzzy Extractor Sketch
    2014-01-08 05:18:00下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载