51小车测速及OLED显示速度

news/2024/11/9 0:39:07/

1.小车测速

  • 用途:广泛用于电机转速检测,脉冲计数,位置限位等。
  • 有遮挡,输出高电平;无遮挡,输出低电平
  • 接线

VCC 接电源正极3.3-5V
GND 接电源负极
DO TTL开关信号输出
AO 此模块不起作用

测试原理和单位换算

轮子走一圈,经过一个周长,C = 2x3.14x半径= 3.14 x 直径(6.5cm)
对应的码盘也转了一圈,码盘有20个格子,每经过一个格子,会遮挡(高电平)和不遮挡(低电平),
那么一个脉冲就是走了 3.14 * 6.5 cm /20 = 1.0205CM
定时器可以设计成一秒,统计脉冲数,一个脉冲就是1cm
假设一秒有80脉冲,那么就是80cm/s

#include "reg52.h"	//超声波控制LED
#include "intrins.h"
#include "stdio.h" sbit ex1_interrupt=P3^2;      //外部中断3.2//int num;  //计数
unsigned int num=0;
int num_speed;   //速度的次数,一个脉冲就是走了 3.14 * 6.5 cm /20 = 1.0205CM
char speed[10];void Delay10us();  //延时10us
void Delay500ms();  //延时500ms
void Delay150ms();  //延时150ms
void Delay2000ms();  //延时2svoid Timer0_Init(void);
void int0_init(void);
void init_usb(void);
void data_uart_transport(char *p);void main()
{init_usb();     //串口初始化Timer0_Init();	//配置定时器0        //模拟1sint0_init();   //外部中断初始化while(1){}
}
//void UART_Pountine(void) interrupt 4
{//static int i=0;//static char cmd[12];if(TI){//Delay500ms();//led2=~led2;	  //每次发送完一个字符h e l就进入一次,因为太快,所以感觉一直亮着}if(RI){				   //接受外部数据后产生中断	 进入interrupt 4}
}void init_usb(void)
{SCON=0x50;//采用工作方式1进行通讯PCON &= 0x7F;  //要清0就 &上0ET1=0;//串口用的定时器1,关闭中断。配置相同的波特率//TCON 定时器控制寄存器TR1=1;  //打开定时器1//TMOD? 定时器模式寄存器TMOD &=0x0F; //&0就清0TMOD |=0x20; // |1就变1TH1=0xFD; //高位? ? ? 自动重装时TH1将自动装入TL1TL1=0xFD; //低位//TI 中断请求标志位   RI中断请求标志位EA=1;ES=1;   //总中断允许位  串口中断允许位 
}void data_uart_transport(char *p)
{while(*p != '\0'){SBUF= *(p++);	 //发送完成后产生中断   进入interrupt 4while(!TI);TI=0;			}			
}void int0_init(void)
{EA=1;	   //总中断已在定时器0初始化中断中开启EX0=1;	   //定时器0中断IT0=1;     //下降沿触发
}
void Int0_Routine(void) interrupt 0
{num_speed++;
}void Timer0_Init(void)		//0.5ms@11.0592MHz    //模拟PWM
{//定时器时钟12T模式TMOD &= 0xF0;			//设置定时器模式TMOD |= 0x01;			//设置定时器模式TL0 = 0x33;				//设置定时初始值TH0 = 0xFE;				//设置定时初始值TF0 = 0;				//清除TF0标志TR0 = 1;				//定时器0开始计时EA=1;	   //打开总中断ET0=1;	   //定时器0中断
}void Timer0_rountinr(void) interrupt 1	  //每0.5ms进入一次定时器0的中断   
{num++;TL0 = 0x33;				//设置定时初始值TH0 = 0xFE;				//设置定时初始值if(num==2000){	 //满足1s  num重置 计算速度sprintf(speed,"speed: %d \r\n",num_speed);data_uart_transport(speed);                  //中断1中嵌套了中断4不知道可以不?num=0;   //重新计时1snum_speed=0;  // 重新计速度}
}

2.速度OLED显示

 

 OLED屏幕会给一些原始的代码,可以在此基础上更改

共3个文件

main.c

#include "reg52.h"	//超声波控制LED
#include "intrins.h"
#include "stdio.h" 
#include "Oled.h"sbit ex1_interrupt=P3^2;      //外部中断3.2//int num;  //计数
unsigned int num=0;
int num_speed;   //速度的次数,一个脉冲就是走了 3.14 * 6.5 cm /20 = 1.0205CM
char speed[10];void Delay10us();  //延时10us
void Delay500ms();  //延时500ms
void Delay150ms();  //延时150ms
void Delay2000ms();  //延时2svoid Timer0_Init(void);
void int0_init(void);
void init_usb(void);
void data_uart_transport(char *p);void main()
{init_usb();     //串口初始化Timer0_Init();	//配置定时器0        //模拟1sint0_init();   //外部中断初始化Oled_Init();Oled_Clear();while(1){Oled_Show_Str(2,2,speed);}
}
//void UART_Pountine(void) interrupt 4
{//static int i=0;//static char cmd[12];if(TI){//Delay500ms();//led2=~led2;	  //每次发送完一个字符h e l就进入一次,因为太快,所以感觉一直亮着}if(RI){				   //接受外部数据后产生中断	 进入interrupt 4}
}void init_usb(void)
{SCON=0x50;//采用工作方式1进行通讯PCON &= 0x7F;  //要清0就 &上0ET1=0;//串口用的定时器1,关闭中断。配置相同的波特率//TCON 定时器控制寄存器TR1=1;  //打开定时器1//TMOD? 定时器模式寄存器TMOD &=0x0F; //&0就清0TMOD |=0x20; // |1就变1TH1=0xFD; //高位? ? ? 自动重装时TH1将自动装入TL1TL1=0xFD; //低位//TI 中断请求标志位   RI中断请求标志位EA=1;ES=1;   //总中断允许位  串口中断允许位 
}void data_uart_transport(char *p)
{while(*p != '\0'){SBUF= *(p++);	 //发送完成后产生中断   进入interrupt 4while(!TI);TI=0;			}			
}void int0_init(void)
{EA=1;	   //总中断已在定时器0初始化中断中开启EX0=1;	   //定时器0中断IT0=1;     //下降沿触发
}
void Int0_Routine(void) interrupt 0
{num_speed++;
}void Timer0_Init(void)		//0.5ms@11.0592MHz    //模拟PWM
{//定时器时钟12T模式TMOD &= 0xF0;			//设置定时器模式TMOD |= 0x01;			//设置定时器模式TL0 = 0x33;				//设置定时初始值TH0 = 0xFE;				//设置定时初始值TF0 = 0;				//清除TF0标志TR0 = 1;				//定时器0开始计时EA=1;	   //打开总中断ET0=1;	   //定时器0中断
}void Timer0_rountinr(void) interrupt 1	  //每0.5ms进入一次定时器0的中断   
{num++;TL0 = 0x33;				//设置定时初始值TH0 = 0xFE;				//设置定时初始值if(num==2000){	 //满足1s  num重置 计算速度sprintf(speed,"speed: %d \r\n",num_speed);data_uart_transport(speed);                  //中断1中嵌套了中断4不知道可以不?num=0;   //重新计时1snum_speed=0;  // 重新计速度}
}

Oled.c

#include "reg52.h"
#include "intrins.h"
#include "Oledfont.h"sbit scl = P1^2;
sbit sda = P1^3;void IIC_Start()
{scl = 0;sda = 1;scl = 1;_nop_();sda = 0;_nop_();
}void IIC_Stop()
{scl = 0;sda = 0;scl = 1;_nop_();sda = 1;_nop_();
}char IIC_ACK()
{char flag;sda = 1;//灏卞湪鏃堕挓鑴夊啿9鏈熼棿閲婃斁鏁版嵁绾?_nop_();scl = 1;_nop_();flag = sda;_nop_();scl = 0;_nop_();return flag;
}void IIC_Send_Byte(char dataSend)
{int i;for(i = 0;i<8;i++){scl = 0;//scl鎷変綆锛岃sda鍋氬ソ鏁版嵁鍑嗗sda = dataSend & 0x80;//1000 0000鑾峰緱dataSend鐨勬渶楂樹綅锛岀粰sda_nop_();//鍙戦€佹暟鎹缓绔嬫椂闂?scl = 1;//scl鎷夐珮寮€濮嬪彂閫?_nop_();//鏁版嵁鍙戦€佹椂闂?scl = 0;//鍙戦€佸畬姣曟媺浣?_nop_();//dataSend = dataSend << 1;}
}void Oled_Write_Cmd(char dataCmd)
{//	1. start()IIC_Start();//		//	2. 鍐欏叆浠庢満鍦板潃  b0111 1000 0x78IIC_Send_Byte(0x78);//	3. ACKIIC_ACK();//	4. cotrol byte: (0)(0)000000 鍐欏叆鍛戒护   (0)(1)000000鍐欏叆鏁版嵁IIC_Send_Byte(0x00);//	5. ACKIIC_ACK();//6. 鍐欏叆鎸囦护/鏁版嵁IIC_Send_Byte(dataCmd);//7. ACKIIC_ACK();//8. STOPIIC_Stop();
}void Oled_Write_Data(char dataData)
{//	1. start()IIC_Start();//		//	2. 鍐欏叆浠庢満鍦板潃  b0111 1000 0x78IIC_Send_Byte(0x78);//	3. ACKIIC_ACK();//	4. cotrol byte: (0)(0)000000 鍐欏叆鍛戒护   (0)(1)000000鍐欏叆鏁版嵁IIC_Send_Byte(0x40);//	5. ACKIIC_ACK();///6. 鍐欏叆鎸囦护/鏁版嵁IIC_Send_Byte(dataData);//7. ACKIIC_ACK();//8. STOPIIC_Stop();
}void Oled_Init(void){Oled_Write_Cmd(0xAE);//--display offOled_Write_Cmd(0x00);//---set low column addressOled_Write_Cmd(0x10);//---set high column addressOled_Write_Cmd(0x40);//--set start line address  Oled_Write_Cmd(0xB0);//--set page addressOled_Write_Cmd(0x81); // contract controlOled_Write_Cmd(0xFF);//--128   Oled_Write_Cmd(0xA1);//set segment remap Oled_Write_Cmd(0xA6);//--normal / reverseOled_Write_Cmd(0xA8);//--set multiplex ratio(1 to 64)Oled_Write_Cmd(0x3F);//--1/32 dutyOled_Write_Cmd(0xC8);//Com scan directionOled_Write_Cmd(0xD3);//-set display offsetOled_Write_Cmd(0x00);//Oled_Write_Cmd(0xD5);//set osc divisionOled_Write_Cmd(0x80);//Oled_Write_Cmd(0xD8);//set area color mode offOled_Write_Cmd(0x05);//Oled_Write_Cmd(0xD9);//Set Pre-Charge PeriodOled_Write_Cmd(0xF1);//Oled_Write_Cmd(0xDA);//set com pin configuartionOled_Write_Cmd(0x12);//Oled_Write_Cmd(0xDB);//set VcomhOled_Write_Cmd(0x30);//Oled_Write_Cmd(0x8D);//set charge pump enableOled_Write_Cmd(0x14);//Oled_Write_Cmd(0xAF);//--turn on oled panel		
}void Oled_Clear()
{unsigned char i,j; //-128 --- 127for(i=0;i<8;i++){Oled_Write_Cmd(0xB0 + i);//page0--page7//姣忎釜page浠?鍒?Oled_Write_Cmd(0x00);Oled_Write_Cmd(0x10);//0鍒?27鍒楋紝渚濇鍐欏叆0锛屾瘡鍐欏叆鏁版嵁锛屽垪鍦板潃鑷姩鍋忕Щfor(j = 0;j<128;j++){Oled_Write_Data(0);}}
}void Oled_Show_Char(char row,char col,char oledChar){ //row*2-2unsigned int  i;Oled_Write_Cmd(0xb0+(row*2-2));                           //page 0Oled_Write_Cmd(0x00+(col&0x0f));                          //lowOled_Write_Cmd(0x10+(col>>4));                            //high	for(i=((oledChar-32)*16);i<((oledChar-32)*16+8);i++){Oled_Write_Data(F8X16[i]);                            //鍐欐暟鎹畂ledTable1}Oled_Write_Cmd(0xb0+(row*2-1));                           //page 1Oled_Write_Cmd(0x00+(col&0x0f));                          //lowOled_Write_Cmd(0x10+(col>>4));                            //highfor(i=((oledChar-32)*16+8);i<((oledChar-32)*16+8+8);i++){Oled_Write_Data(F8X16[i]);                            //鍐欐暟鎹畂ledTable1}		
}/******************************************************************************/
// 鍑芥暟鍚嶇О锛歄led_Show_Char 
// 杈撳叆鍙傛暟锛歰ledChar 
// 杈撳嚭鍙傛暟锛氭棤 
// 鍑芥暟鍔熻兘锛歄LED鏄剧ず鍗曚釜瀛楃
/******************************************************************************/
void Oled_Show_Str(char row,char col,char *str){while(*str!=0){Oled_Show_Char(row,col,*str);str++;col += 8;	}		
}

Oledfont.h


const unsigned char code F8X16[]=	  
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,// 00x00,0x00,0x00,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x33,0x30,0x00,0x00,0x00,//! 10x00,0x10,0x0C,0x06,0x10,0x0C,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//" 20x40,0xC0,0x78,0x40,0xC0,0x78,0x40,0x00,0x04,0x3F,0x04,0x04,0x3F,0x04,0x04,0x00,//# 30x00,0x70,0x88,0xFC,0x08,0x30,0x00,0x00,0x00,0x18,0x20,0xFF,0x21,0x1E,0x00,0x00,//$ 40xF0,0x08,0xF0,0x00,0xE0,0x18,0x00,0x00,0x00,0x21,0x1C,0x03,0x1E,0x21,0x1E,0x00,//% 50x00,0xF0,0x08,0x88,0x70,0x00,0x00,0x00,0x1E,0x21,0x23,0x24,0x19,0x27,0x21,0x10,//& 60x10,0x16,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//' 70x00,0x00,0x00,0xE0,0x18,0x04,0x02,0x00,0x00,0x00,0x00,0x07,0x18,0x20,0x40,0x00,//( 80x00,0x02,0x04,0x18,0xE0,0x00,0x00,0x00,0x00,0x40,0x20,0x18,0x07,0x00,0x00,0x00,//) 90x40,0x40,0x80,0xF0,0x80,0x40,0x40,0x00,0x02,0x02,0x01,0x0F,0x01,0x02,0x02,0x00,//* 100x00,0x00,0x00,0xF0,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x1F,0x01,0x01,0x01,0x00,//+ 110x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xB0,0x70,0x00,0x00,0x00,0x00,0x00,//, 120x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,//- 130x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x30,0x00,0x00,0x00,0x00,0x00,//. 140x00,0x00,0x00,0x00,0x80,0x60,0x18,0x04,0x00,0x60,0x18,0x06,0x01,0x00,0x00,0x00,/// 150x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,//0 160x00,0x10,0x10,0xF8,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x00,//1 170x00,0x70,0x08,0x08,0x08,0x88,0x70,0x00,0x00,0x30,0x28,0x24,0x22,0x21,0x30,0x00,//2 180x00,0x30,0x08,0x88,0x88,0x48,0x30,0x00,0x00,0x18,0x20,0x20,0x20,0x11,0x0E,0x00,//3 190x00,0x00,0xC0,0x20,0x10,0xF8,0x00,0x00,0x00,0x07,0x04,0x24,0x24,0x3F,0x24,0x00,//4 200x00,0xF8,0x08,0x88,0x88,0x08,0x08,0x00,0x00,0x19,0x21,0x20,0x20,0x11,0x0E,0x00,//5 210x00,0xE0,0x10,0x88,0x88,0x18,0x00,0x00,0x00,0x0F,0x11,0x20,0x20,0x11,0x0E,0x00,//6 220x00,0x38,0x08,0x08,0xC8,0x38,0x08,0x00,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x00,//7 230x00,0x70,0x88,0x08,0x08,0x88,0x70,0x00,0x00,0x1C,0x22,0x21,0x21,0x22,0x1C,0x00,//8 240x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x00,0x31,0x22,0x22,0x11,0x0F,0x00,//9 250x00,0x00,0x00,0xC0,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x30,0x00,0x00,0x00,//: 260x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x60,0x00,0x00,0x00,0x00,//; 270x00,0x00,0x80,0x40,0x20,0x10,0x08,0x00,0x00,0x01,0x02,0x04,0x08,0x10,0x20,0x00,//< 280x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,//= 290x00,0x08,0x10,0x20,0x40,0x80,0x00,0x00,0x00,0x20,0x10,0x08,0x04,0x02,0x01,0x00,//> 300x00,0x70,0x48,0x08,0x08,0x08,0xF0,0x00,0x00,0x00,0x00,0x30,0x36,0x01,0x00,0x00,//? 310xC0,0x30,0xC8,0x28,0xE8,0x10,0xE0,0x00,0x07,0x18,0x27,0x24,0x23,0x14,0x0B,0x00,//@ 320x00,0x00,0xC0,0x38,0xE0,0x00,0x00,0x00,0x20,0x3C,0x23,0x02,0x02,0x27,0x38,0x20,//A 330x08,0xF8,0x88,0x88,0x88,0x70,0x00,0x00,0x20,0x3F,0x20,0x20,0x20,0x11,0x0E,0x00,//B 340xC0,0x30,0x08,0x08,0x08,0x08,0x38,0x00,0x07,0x18,0x20,0x20,0x20,0x10,0x08,0x00,//C 350x08,0xF8,0x08,0x08,0x08,0x10,0xE0,0x00,0x20,0x3F,0x20,0x20,0x20,0x10,0x0F,0x00,//D 360x08,0xF8,0x88,0x88,0xE8,0x08,0x10,0x00,0x20,0x3F,0x20,0x20,0x23,0x20,0x18,0x00,//E 370x08,0xF8,0x88,0x88,0xE8,0x08,0x10,0x00,0x20,0x3F,0x20,0x00,0x03,0x00,0x00,0x00,//F 380xC0,0x30,0x08,0x08,0x08,0x38,0x00,0x00,0x07,0x18,0x20,0x20,0x22,0x1E,0x02,0x00,//G 390x08,0xF8,0x08,0x00,0x00,0x08,0xF8,0x08,0x20,0x3F,0x21,0x01,0x01,0x21,0x3F,0x20,//H 400x00,0x08,0x08,0xF8,0x08,0x08,0x00,0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x00,//I 410x00,0x00,0x08,0x08,0xF8,0x08,0x08,0x00,0xC0,0x80,0x80,0x80,0x7F,0x00,0x00,0x00,//J 420x08,0xF8,0x88,0xC0,0x28,0x18,0x08,0x00,0x20,0x3F,0x20,0x01,0x26,0x38,0x20,0x00,//K 430x08,0xF8,0x08,0x00,0x00,0x00,0x00,0x00,0x20,0x3F,0x20,0x20,0x20,0x20,0x30,0x00,//L 440x08,0xF8,0xF8,0x00,0xF8,0xF8,0x08,0x00,0x20,0x3F,0x00,0x3F,0x00,0x3F,0x20,0x00,//M 450x08,0xF8,0x30,0xC0,0x00,0x08,0xF8,0x08,0x20,0x3F,0x20,0x00,0x07,0x18,0x3F,0x00,//N 460xE0,0x10,0x08,0x08,0x08,0x10,0xE0,0x00,0x0F,0x10,0x20,0x20,0x20,0x10,0x0F,0x00,//O 470x08,0xF8,0x08,0x08,0x08,0x08,0xF0,0x00,0x20,0x3F,0x21,0x01,0x01,0x01,0x00,0x00,//P 480xE0,0x10,0x08,0x08,0x08,0x10,0xE0,0x00,0x0F,0x18,0x24,0x24,0x38,0x50,0x4F,0x00,//Q 490x08,0xF8,0x88,0x88,0x88,0x88,0x70,0x00,0x20,0x3F,0x20,0x00,0x03,0x0C,0x30,0x20,//R 500x00,0x70,0x88,0x08,0x08,0x08,0x38,0x00,0x00,0x38,0x20,0x21,0x21,0x22,0x1C,0x00,//S 510x18,0x08,0x08,0xF8,0x08,0x08,0x18,0x00,0x00,0x00,0x20,0x3F,0x20,0x00,0x00,0x00,//T 520x08,0xF8,0x08,0x00,0x00,0x08,0xF8,0x08,0x00,0x1F,0x20,0x20,0x20,0x20,0x1F,0x00,//U 530x08,0x78,0x88,0x00,0x00,0xC8,0x38,0x08,0x00,0x00,0x07,0x38,0x0E,0x01,0x00,0x00,//V 540xF8,0x08,0x00,0xF8,0x00,0x08,0xF8,0x00,0x03,0x3C,0x07,0x00,0x07,0x3C,0x03,0x00,//W 550x08,0x18,0x68,0x80,0x80,0x68,0x18,0x08,0x20,0x30,0x2C,0x03,0x03,0x2C,0x30,0x20,//X 560x08,0x38,0xC8,0x00,0xC8,0x38,0x08,0x00,0x00,0x00,0x20,0x3F,0x20,0x00,0x00,0x00,//Y 570x10,0x08,0x08,0x08,0xC8,0x38,0x08,0x00,0x20,0x38,0x26,0x21,0x20,0x20,0x18,0x00,//Z 580x00,0x00,0x00,0xFE,0x02,0x02,0x02,0x00,0x00,0x00,0x00,0x7F,0x40,0x40,0x40,0x00,//[ 590x00,0x0C,0x30,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x06,0x38,0xC0,0x00,//\ 600x00,0x02,0x02,0x02,0xFE,0x00,0x00,0x00,0x00,0x40,0x40,0x40,0x7F,0x00,0x00,0x00,//] 610x00,0x00,0x04,0x02,0x02,0x02,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//^ 620x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,//_ 630x00,0x02,0x02,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//` 640x00,0x00,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x19,0x24,0x22,0x22,0x22,0x3F,0x20,//a 650x08,0xF8,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x3F,0x11,0x20,0x20,0x11,0x0E,0x00,//b 660x00,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x00,0x0E,0x11,0x20,0x20,0x20,0x11,0x00,//c 670x00,0x00,0x00,0x80,0x80,0x88,0xF8,0x00,0x00,0x0E,0x11,0x20,0x20,0x10,0x3F,0x20,//d 680x00,0x00,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x1F,0x22,0x22,0x22,0x22,0x13,0x00,//e 690x00,0x80,0x80,0xF0,0x88,0x88,0x88,0x18,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x00,//f 700x00,0x00,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x6B,0x94,0x94,0x94,0x93,0x60,0x00,//g 710x08,0xF8,0x00,0x80,0x80,0x80,0x00,0x00,0x20,0x3F,0x21,0x00,0x00,0x20,0x3F,0x20,//h 720x00,0x80,0x98,0x98,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x00,//i 730x00,0x00,0x00,0x80,0x98,0x98,0x00,0x00,0x00,0xC0,0x80,0x80,0x80,0x7F,0x00,0x00,//j 740x08,0xF8,0x00,0x00,0x80,0x80,0x80,0x00,0x20,0x3F,0x24,0x02,0x2D,0x30,0x20,0x00,//k 750x00,0x08,0x08,0xF8,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x00,//l 760x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x20,0x3F,0x20,0x00,0x3F,0x20,0x00,0x3F,//m 770x80,0x80,0x00,0x80,0x80,0x80,0x00,0x00,0x20,0x3F,0x21,0x00,0x00,0x20,0x3F,0x20,//n 780x00,0x00,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x1F,0x20,0x20,0x20,0x20,0x1F,0x00,//o 790x80,0x80,0x00,0x80,0x80,0x00,0x00,0x00,0x80,0xFF,0xA1,0x20,0x20,0x11,0x0E,0x00,//p 800x00,0x00,0x00,0x80,0x80,0x80,0x80,0x00,0x00,0x0E,0x11,0x20,0x20,0xA0,0xFF,0x80,//q 810x80,0x80,0x80,0x00,0x80,0x80,0x80,0x00,0x20,0x20,0x3F,0x21,0x20,0x00,0x01,0x00,//r 820x00,0x00,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x33,0x24,0x24,0x24,0x24,0x19,0x00,//s 830x00,0x80,0x80,0xE0,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x1F,0x20,0x20,0x00,0x00,//t 840x80,0x80,0x00,0x00,0x00,0x80,0x80,0x00,0x00,0x1F,0x20,0x20,0x20,0x10,0x3F,0x20,//u 850x80,0x80,0x80,0x00,0x00,0x80,0x80,0x80,0x00,0x01,0x0E,0x30,0x08,0x06,0x01,0x00,//v 860x80,0x80,0x00,0x80,0x00,0x80,0x80,0x80,0x0F,0x30,0x0C,0x03,0x0C,0x30,0x0F,0x00,//w 870x00,0x80,0x80,0x00,0x80,0x80,0x80,0x00,0x00,0x20,0x31,0x2E,0x0E,0x31,0x20,0x00,//x 880x80,0x80,0x80,0x00,0x00,0x80,0x80,0x80,0x80,0x81,0x8E,0x70,0x18,0x06,0x01,0x00,//y 890x00,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x21,0x30,0x2C,0x22,0x21,0x30,0x00,//z 900x00,0x00,0x00,0x00,0x80,0x7C,0x02,0x02,0x00,0x00,0x00,0x00,0x00,0x3F,0x40,0x40,//{ 910x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,//| 920x00,0x02,0x02,0x7C,0x80,0x00,0x00,0x00,0x00,0x40,0x40,0x3F,0x00,0x00,0x00,0x00,//} 930x00,0x06,0x01,0x01,0x02,0x02,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//~ 94
};


http://www.ppmy.cn/news/234565.html

相关文章

关系运算符

下表显示了 C 支持的关系运算符。 假设变量 A 的值为 10&#xff0c;变量 B 的值为 20&#xff0c;则&#xff1a; 运算符描述实例检查两个操作数的值是否相等&#xff0c;如果相等则条件为真。(A B) 不为真。!检查两个操作数的值是否相等&#xff0c;如果不相等则条件为真。…

全球及中国家具市场消费规模与运营能力状况分析报告2022版

全球及中国家具市场消费规模与运营能力状况分析报告2022版 --------------------------------------------- 【修订日期】&#xff1a;2021年11月 【搜索鸿晟信合研究院查看官网更多内容&#xff01;】 第一章 家具行业概述 1.1 家具行业定义与特性 1.1.1 家具行业定义 …

2021最新100G Java学习资料,从入门到精通!

【此文章转自乐字节】 不论是从2020年TIOBE 每个月的编程语言排行榜上看&#xff0c;还是从各知名招聘网站年底分析的招聘报告中了解&#xff0c;我们都不难看出&#xff0c;在IT行业里Java依然是技术圈中最热门、最抢手、需求量最大的编程语言&#xff01; 学了Java到底能做…

常用mysql命令总结

-- 表注释 use mysql; show tables; create database cpxl use cpxl create table product { productnumber char(10) not null primary key, prname char(10) null, prprice int(10) null, inventory char(10) null }; create table retailer { clientnumber char(10) n…

Java、Python、JS、C语言,哪个更值得学?

一提到编程&#xff0c;大家就会想到一堆莫名其妙的缩写&#xff0c;比如C、C、JAVA、VB、VC、FoxPro、Delphi、SQL、PHP、ASP、JSP等等&#xff0c;那么编程语言究竟多少种呢&#xff1f; 其实&#xff0c;编程语言从总体上说主要可以分为以下三类&#xff1a; 1、机器语言&…

【Designing ML Systems】第 1 章 :机器学习系统概述

&#x1f50e;大家好&#xff0c;我是Sonhhxg_柒&#xff0c;希望你看完之后&#xff0c;能对你有所帮助&#xff0c;不足请指正&#xff01;共同学习交流&#x1f50e; &#x1f4dd;个人主页&#xff0d;Sonhhxg_柒的博客_CSDN博客 &#x1f4c3; &#x1f381;欢迎各位→点赞…

科技爱好者周刊:第 100 期

这里记录每周值得分享的科技内容&#xff0c;周五发布。 本杂志开源(GitHub: ruanyf/weekly)&#xff0c;欢迎提交 issue&#xff0c;投稿或推荐你的项目。 周刊讨论区的帖子《谁在招人&#xff1f;》&#xff0c;提供大量就业信息&#xff0c;欢迎访问或发布工作/实习岗位。 封…

Java零基础学习教程,初始Java,1分钟带你了解Java语言

Java从诞生以来就一直活跃于企业中&#xff0c;名企应用天猫&#xff0c;百度&#xff0c;知乎......都是Java语言编写&#xff0c;就连现在使用广泛的XMind也是Java编写的。Java应用的广泛已经到了“无处不用”的盛世&#xff0c;而且一直在语言排行榜榜首&#xff0c;从未被超…