E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
0xc0
C语言 hex十六进制字符串转byte字节数组
例:”0CB11502C0270120”–>{0x0c,0xb1,0x15,0x02,
0xc0
,0x27,0x01,0x20}staticinthex2byte(char*dst,char*src
sssuperqiqi
·
2020-07-30 00:10
编程语言C
CRC代码算法实现-CRC-16 MODBUS代码实验
#include"stdio.h"unsignedcharauchCRCHi[]={0x00,0xC1,0x81,0x40,0x01,
0xC0
,0x80,0x41,0x01,
0xC0
,0x80,0x41,0x00,0xC1,0x81,0x40,0x01,
0xC0
,0x80,0x41,0x00,0xC1,0x81,0x40,0x00,0xC1,0x81,0x40,0x01,
0xC0
,0x80,0x4
Stupid_Gao
·
2020-07-29 22:06
C语言指针
完整的I2C串口通讯程序
include#defineucharunsignedcharsbitSCL="P2"^0;sbitSDA="P2"^1;sbitP36=P3^6;sbitP37=P3^7;ucharcodesend[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8
随便称呼
·
2020-07-29 17:07
关于CRC校验的代码
无符号16位整型变量*/#include#include#include/*高位字节表*/staticunsignedcharauchCRCHi[]={0x00,0xC1,0x81,0x40,0x01,
0xC0
,0x80,0x41,0
anlog
·
2020-07-29 17:58
USB插拔检测程序
GUIDstaticconstGUIDGUID_DEVINTERFACE_LIST[]={//GUID_DEVINTERFACE_USB_DEVICEUSB设备的GUID{0xA5DCBF10,0x6530,0x11D2,{0x90,0x1F,0x00,
0xC0
,0x4F
aizongsai2251
·
2020-07-29 17:29
FPGA 实现CRC_16(ModbusRTU)
首先贴上C语言查表实现CRC16的源码/*CRC高位字节值表*/conststaticunsignedcharauchCRCHi[]={0x00,0xC1,0x81,0x40,0x01,
0xC0
,0x80,0x41,0x01,
0xC0
,0x80,0x41,0x00,0xC1,0x81,0x40,0x01,
0xC0
,0x80,0x41,0x
weixin_39055614
·
2020-07-29 14:49
c++中冒号(:)和双冒号(::)的用法和c/c++ 位域结构体
struct_XXX{_XXX():y(
0xc0
){}};(3)public:和private:后面的冒号,表
fragno
·
2020-07-27 22:18
C++
c++
struct
数据结构
存储
api
math
《电子DIY》《单片机实践项目》之矩阵扫描程序讲解(四十四),Proteus仿真
共阴数码管//0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71//0-F的码表//共阳数码管//
0Xc0
,0Xf9,0Xa4,0Xb0,0X99,0X92,0X82,0Xf8,0X80,0X90,0X88,0X83,0Xc6,0Xa1,0X86,0X8e
liuxianfei0810
·
2020-07-16 02:08
电子DIY
矩阵按键扫描
Proteus仿真
51单片机实践
程序讲解
资料
SLIP:Serial Line IP串行线路 IP
下面的规则描述了SLIP协议定义的帧格式:1)IP数据报以一个称作END(
0xC0
)的特殊字符结束。
jazzi
·
2020-07-15 19:33
Java-标识符
标识符由数字(09)和字母(AZ和a~z)、美元符号($)、下划线(_)以及Unicode字符集中符号大于
0xC0
的所有符号组合构成(各符号之间没有空格)。
qf2019
·
2020-07-14 16:45
编程语言
Java技术
IT行业
CRC16校验代码 C#
publicclassCRC{publicbyte[]auchCRCHi=newbyte[0x100]{0x00,0xC1,0x81,0x40,0x01,
0xC0
,0x80,0x41,0x01,
0xC0
,0x80,0x41,0x00,0xC1,0x81,0x40,0x01,
0xC0
,0x80,0x41,0x00,0xC1,0x81,0x40,0x00,0xC1,0x81,0x40,0x01,0xC
justlilyxuli
·
2020-07-14 12:30
Java注释,标识符与关键字,数据类型
二、标识符与关键字1.标识符由数字(0~9)和字母(A~Z和a~z)、美元符号($)、下划线(_)以及Unicode字符集中符号大于
0xC0
的所有符号组合构成(各符号之间没有空格)。2
cmxky
·
2020-07-14 09:38
java
51单片机按键的扫描
P1^4;sbitKEY1=P2^4;sbitKEY2=P2^5;sbitKEY3=P2^6;sbitKEY4=P2^7;unsignedcharcodeLedChar[]={//数码管显示字符转换表
0xC0
,0xF9,0xA4,0xB0,0x
KNQDJ
·
2020-07-13 00:02
单片机
并行口实现数字0~9、A~F、L、U、P、n总共19个键盘,将按键的结果用7段数码管(例如:7SEG-MPX-CA-BLUE)显示(可选——按键控制移位)出来
外部中断的使用和编程方法电路图:#include#defineucharunsignedchar#defineuintunsignedint//0-9,A-F,LUPNucharcodeDSY_CODE[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x9
Hugo_scnu
·
2020-07-12 20:14
单片机89C51
11.6 通信实例与ASCII码
#includesbitADDR3=P1^3;sbitENLED=P1^4;unsignedcharcodeLedChar[]={//数码管显示字符转换表
0xC0
,0xF9
weixin_44488826
·
2020-07-12 14:36
MCU
51单片机:在2位数码管上循环显示00-99,间隔0.5秒
defineuintunsignedint//宏#defineucharunsignedcharsbita=P1^0;sbitb=P1^1;sbitc=P1^2;sbitd=P1^3;ucharcodetable[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90
谢桥
·
2020-07-12 01:59
51单片机
CLOCK
0xf000;xdataunsignedcharOUT_BIT_at_0xe000;unsignedcharLEDBuf[]={0,0,0,0,0,0};codeunsignedcharLEDMAP[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x
thecrazyboy
·
2020-07-12 00:54
51单片机:在动态显示数字8051基础上,按键按一下数码管数字+1
利用外部中断实现按键按一下数码管示数加一代码如下:(写的不好仅供参考)//利用外部中断实现开关按一下,数码管数字在8051的基础上+1#includeunsignedcharcodeDSY_CODE[]={
0xC0
,0xF9,0xA4,0xB0,0x99,0x92,0x82,0
就这样le
·
2020-07-11 20:33
51单片机
矩阵按键的两种扫描方法
2.实验流程图3.代码分析(1)行扫描#include"stm32f10x.h"u16keyz=0;u8a[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e
初入江湖的郭大侠
·
2020-07-11 15:07
stm32
基于stc15f2k60s2芯片单片机编程(可调时钟)
1;sbits5=P3^2;voidTimer0Init(void);voidDelay5ms();voidxianshi();voidanjian();unsignedcharcodetab[]={
0xc0
,0xf9,0xa4
南门!南门!南门!
·
2020-07-11 12:46
Modbus的CRC校验实验
先参考一些厂家给的MODBUS校验程序constunsignedcharauchCRCHi[]={0x00,0xC1,0x81,0x40,0x01,
0xC0
,0x80,0x41,0x01,
0xC0
,
cau_par
·
2020-07-11 08:00
Modbus的CRC校验实验
先参考一些厂家给的MODBUS校验程序constunsignedcharauchCRCHi[]={0x00,0xC1,0x81,0x40,0x01,
0xC0
,0x80,0x41,0x01,
0xC0
,
cau_par
·
2020-07-11 08:00
考研笔试:51单片机之按键控制数码管显示
2、代码#include#defineucharunsignedcharucharcodetab[]={
0XC0
,0XF9,0XA4,0XB0,0X99,0X92,0X82,
数学建模CUMCM
·
2020-07-11 05:08
【蓝桥杯单片机组】
晶联讯1353显示屏测试程序
JLX-GB2312,2015927重新编译编排L892CODE5972ucharcodebmp_12864_0[6]改bmp_12864_0[]*/#include#include#include//sfrP4=
0xc0
czhaii
·
2020-07-11 04:20
液晶显示
Java中的ModBus CRC16校验
1、查表法byte[]crc16_h={(byte)0x00,(byte)0xC1,(byte)0x81,(byte)0x40,(byte)0x01,(byte)
0xC0
,(byte)0x80,(byte
星星照猩猩
·
2020-07-10 12:58
Modbus
CRC16
crc16位校验
Java实现CRC校验
蓝桥杯单片机学习过程记录(八)时钟芯片
蓝桥杯单片机学习过程记录(八)时钟芯片//时钟芯片#include#includesbitsck=P1^7;sbitio=P2^3;sbitce=P1^3;unsignedcharseg[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xbf
爆炒小肥牛
·
2020-07-10 11:52
单片机
四只数码管滚动循环显示0~3 PROTEUS 和51单片机教程(仿真文件+源代码)
程序源代码如下:/*4只数码管循环显示0~3*/#includetypedefunsignedcharuint8;typedefunsignedintuint16;codeuint8LED_CODE[]={
0xC0
,0xF9,0xA4,0xB0
从零开始学单片机设计
·
2020-07-10 11:40
单片机
编程
仿真
蓝桥杯单片机第七届初赛试题模拟风扇控制系统
pwmds18b20参考以前文章#include#include"onewire.h"#defineucharunsignedchar#defineuintunsignedintucharcodetab[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xbf
另寻沧海
·
2020-07-10 10:47
蓝桥杯
蓝桥杯单片机第八届初赛试题-电子钟
include#include"ds1302.h"#include"onewire.h"#defineucharunsignedchar#defineuintunsignedintucharcodetab[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x9
另寻沧海
·
2020-07-10 10:47
蓝桥杯
蓝桥杯单片机第六届省赛试题温度记录器
include#include"onewire.h"#include"ds1302.h"#defineucharunsignedchar#defineuintunsignedintucharcodetab[]={
0XC0
,0XF9,0XA4,0XB0,0X99,0X92,0X82,0XF8
另寻沧海
·
2020-07-10 10:17
蓝桥杯
蓝桥杯第四届省赛模拟智能灌溉
include#include"ds1302.h"#include"iic.h"#defineucharunsignedchar#defineuintunsignedintucharcodetab[]={
0XC0
,0XF9,0XA4,0XB0,0X99,0X92,0X82,0XF8,0X80,0X90,0XBF
另寻沧海
·
2020-07-10 10:45
蓝桥杯
蓝桥杯第四届
蓝桥杯驱动
DS1302
IIC
EEPROM
8只数码管滚动显示单个数字
,程序通过每次仅循环选通一只数码管#include#include#defineucharunsignedchar#defineuintunsignedintucharcodeDSY_CODE[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90
weixin_40773613
·
2020-07-10 09:45
数码管显示数字12345678
#include#includesbitDIG_DATA=P0^2;sbitDIG_SHCP=P0^4;sbitDIG_STCP=P2^3;codeunsignedcharSegment[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90
weixin_30659829
·
2020-07-10 06:07
共阳极、共阴极数码管编码表(0~9、A~P……全亮)
ucharcodetable[]={
0xc0
,//00xf9,//10xa4,//20xb0,//30x99,//40x92,//50x82,//60xf8,//70x80,//80x90,//90x88
零碎@流年絮语
·
2020-07-10 01:37
MCU
51单片机实现数码管滚动显示
#includevoidmain(){constunsignedchardesign[16]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x82,0xf8,0x80,0x90};//0x3f,
联大清流
·
2020-07-10 00:58
IT
51单片机八位数码管1到F动态滚动显示仿真及程序
1到F动态滚动显示仿真及程序动态滚动显示仿真及程序#include#defineucharunsignedchar#defineuintunsignedintucharcodeDSY_CODE[]={
0XC0
,0XF9,0XA4,0XB0,0X99,0X92,0X82,0XF8,0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e
qq_27493387
·
2020-07-09 22:26
c++中冒号(:)和双冒号(::)的用法
struct_XXX{_XXX():y(
0xc0
){}};(3)public:和private:后面的冒号,表示
blizzardEA
·
2020-07-09 13:05
C++奋斗乐园
共阴、共阳数码管编码表
共阳数码管unsignedcharcodetable[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e
小默haa
·
2020-07-09 12:15
蓝桥杯
第十届蓝桥杯
单片机
共阴数码管
共阳数码管
单只按键控制单只数码管滚动显示 PROTEUS 和51单片机教程(附仿真文件+源代码)
#includetypedefunsignedcharuint8;typedefunsignedintuint16;#defineKey()(P1&0x01)codeuint8LED_CODE[]={
0xC0
,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8
从零开始学单片机设计
·
2020-07-08 22:52
单片机
编程
仿真
Go语言学习笔记07--数组指针、切片指针与结构体指针
首先交代一下基本概念:数组指针:指的是一个指针,只不过这个指针指向了一个数组eg:vararr[5]int=[5]int{1,2,3,4,5};varp*[5]int=&arr;fmt.Println(p);//
0xc0
Frank·Ming
·
2020-07-08 11:29
go语言基础
go
区块链
51单片机实例学习二 按键中断识别、定时器、利用定时器产生乐曲、数摸转换 ADC0804和DAC0832
[C语言源程序]#includeunsignedcharcodetable[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8
甜航一直在
·
2020-07-07 23:24
笔记
51单片机
单片机
基于stc15f2k60s2芯片单片机编程(数码管)
**蓝桥杯stc15f2k60s2芯片编程(数码管)******(1)数码管显示01234567****#includeunsignedcharshuzu[]={
0XC0
,0XF9,0XA4,0XB0,0X99,0X92,0X82,0XF8,0X80,0X90,0XBF
南门!南门!南门!
·
2020-07-07 15:14
基于51单片机的电子时钟课程设计
ucharnum=0,cmd=0;uinttime=0;uintflag=0;sbitP30=P3^0;sbitP35=P3^5;sbitP32=P3^2;sbitP33=P3^3;ucharcodetab[]={
0xc0
我潘涛真帅
·
2020-07-06 14:14
51单片机矩阵键盘响应程序
defineKEYP3#defineDIGP0unsignedcharGetKey(void);voiddelay10ms(void);//独立数码管的段码表unsignedcharval[16]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82
xiongjianjunCSND
·
2020-07-06 09:30
单片机开发经验
独立按键控制数码管位移
独立按键控制数码管位移代码:#include#defineucharunsignedchar#defineuintunsignedintucharcodeDSY_CODE[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xff
干不过神评的段子手
·
2020-07-06 06:36
单片机入门
矩阵按键控制动态数码管
sbitKZA=P2^2;//位定义sbitKZB=P2^3;sbitKZC=P2^4;#defineGPIO_keyP1#defineGPIO_DIGP0u8KeyValue;u8codeshumag[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x8
Joll_C
·
2020-07-06 06:18
单片机
PCF8491转化程序
#include#defineuintunsignedint#defineucharunsignedcharucharcodetable[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x83,0xf8,0x80,0x98,0x88,0x83,0xc6,0xa1,0x86,0x8e
OUC sailing team
·
2020-07-06 05:23
树莓派
51单片机:8位数码管动态显示,从12345678开始,每次按S1键加1
sbitN3=P1^2;sbitN4=P1^3;sbitN5=P1^4;sbitN6=P1^5;sbitN7=P1^6;sbitN8=P1^7;sbitS1=P3^7;ucharcodetable[]={
0xc0
,0x
谢桥
·
2020-07-05 14:01
51单片机
51单片机:6位数码管动态显示,从600000开始,每0.5秒加1
defineucharunsignedcharsbitN1=P1^0;sbitN2=P1^1;sbitN3=P1^2;sbitN4=P1^3;sbitN5=P1^4;sbitN6=P1^5;ucharcodetable[]={
0xc0
,0xf9,0xa4,0xb0,0x99,0x92,0x82,0
谢桥
·
2020-07-05 14:00
51单片机
安卓 socket DataOutputStream.writeUTF写入空字符会encode成\xc0\x80安卓
ascll码为0,编码UTF-8变成
0xc0
\x80???直接复制DataOutputStream的代码来给你们看看这个锅!!!
lalalaterraria
·
2020-07-05 09:20
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他