91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 11.89MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-07-29
  • 語言: 其他
  • 標(biāo)簽: dmp??

資源簡介

STM32_MPU6050_dmp 使用dmp庫讀取四元數(shù)和歐拉角 測試成功

資源截圖

代碼片段和文件信息

#include?“chinese.h“
#include?“chfont.h“
#include?“l(fā)cd.h“
#include?“delay.h“
???
????
//在LCD上的(x,y)處畫點
//color:點的顏色
void?LCD_Draw_Point(u16?xu16?yu16?color)
{
u16?temp;
temp=POINT_COLOR;
POINT_COLOR=color;
????LCD_DrawPoint(xy);
POINT_COLOR=temp;
}
//在指定位置?顯示1個16*16的漢字
//(xy):漢字顯示的位置
//index:tfont數(shù)組里面的第幾個漢字
//color:這個漢字的顏色
void?Show_CH_Font16(u16?xu16?yu8?indexu16?coloru8?mode)
{??? ????
u8?temptt1;
u16?y0=y; ???
????for(t=0;t<32;t++)//每個16*16的漢字點陣?有32個字節(jié)
????{?
if(t<16)temp=tfont16[index*2][t];??????//前16個字節(jié)
else?temp=tfont16[index*2+1][t-16];????//后16個字節(jié) ??????????????????????????
?????for(t1=0;t1<8;t1++)
{?
if(mode)?
{
if(temp&0x80)LCD_Draw_Point(xycolor);//畫實心點
}
else
{
if(temp&0x80)LCD_Draw_Point(xycolor);
else?LCD_Draw_Point(xyBACK_COLOR);???//畫空白點(使用背景色)
}
temp<<=1;
y++;
if((y-y0)==16)
{
y=y0;
x++;
break;
}
}

????}??????????
}

?



//在指定位置?顯示1個24*24的漢字
//(xy):漢字顯示的位置
//index:tfont數(shù)組里面的第幾個漢字
//color:這個漢字的顏色
void?Show_CH_Font24(u16?xu16?yu8?indexu16?color)
{??? ????
u8?temptt1;
u16?y0=y; ???
????for(t=0;t<72;t++)//每個24*24的漢字點陣?有72個字節(jié)
????{???
if(t<24)temp=tfont24[index*3][t];???????????//前24個字節(jié)
else?if(t<48)temp=tfont24[index*3+1][t-24];?//中24個字節(jié) ??????????????????????????
????????else?temp=tfont24[index*3+2][t-48];?????????//后24個字節(jié)
????for(t1=0;t1<8;t1++)
{
if(temp&0x80)LCD_Draw_Point(xycolor);//畫實心點
else?LCD_Draw_Point(xyBACK_COLOR);???//畫空白點(使用背景色)
temp<<=1;
y++;
if((y-y0)==24)
{
y=y0;
x++;
break;
}
}?? ?
????}??????????
}

//在xy處開始顯示第sta到第end個漢字
void?Hanzi(u16?xu16?yu16?coloru16?stau16?endu16?mode)
{
u8?t;
for(t=sta;t {
Show_CH_Font16(x?ytcolormode);
????x+=16;
// ????delay_ms(10);
if(240-x<16)
{
y=y+16;
x=0;????
}
}
}








?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-10-08?21:42??MPU6050(庫函數(shù)版dmp)\
?????目錄???????????0??2015-10-08?21:42??MPU6050(庫函數(shù)版dmp)\HARDWARE\
?????目錄???????????0??2015-10-08?21:42??MPU6050(庫函數(shù)版dmp)\HARDWARE\CHINESE\
?????文件????????4586??2013-08-19?17:26??MPU6050(庫函數(shù)版dmp)\HARDWARE\CHINESE\chfont.h
?????文件????????2158??2013-08-19?17:26??MPU6050(庫函數(shù)版dmp)\HARDWARE\CHINESE\chinese.c
?????文件?????????280??2013-08-19?17:26??MPU6050(庫函數(shù)版dmp)\HARDWARE\CHINESE\chinese.h
?????目錄???????????0??2015-10-08?21:42??MPU6050(庫函數(shù)版dmp)\HARDWARE\IIC\
?????文件????????5163??2015-10-08?20:07??MPU6050(庫函數(shù)版dmp)\HARDWARE\IIC\IIC.c
?????文件????????1766??2013-08-24?16:07??MPU6050(庫函數(shù)版dmp)\HARDWARE\IIC\IIC.h
?????目錄???????????0??2015-10-08?21:42??MPU6050(庫函數(shù)版dmp)\HARDWARE\LCD\
?????文件???????16155??2010-06-21?11:18??MPU6050(庫函數(shù)版dmp)\HARDWARE\LCD\FONT.H
?????文件???????39684??2013-08-18?17:11??MPU6050(庫函數(shù)版dmp)\HARDWARE\LCD\ILI93xx.c
?????文件????????8596??2013-08-19?17:49??MPU6050(庫函數(shù)版dmp)\HARDWARE\LCD\LCD.h
?????目錄???????????0??2015-10-08?21:42??MPU6050(庫函數(shù)版dmp)\HARDWARE\MPU6050\
?????文件???????19342??2012-12-14?11:16??MPU6050(庫函數(shù)版dmp)\HARDWARE\MPU6050\dmpKey.h
?????文件????????6765??2012-12-14?11:16??MPU6050(庫函數(shù)版dmp)\HARDWARE\MPU6050\dmpmap.h
?????文件???????86395??2013-08-24?21:46??MPU6050(庫函數(shù)版dmp)\HARDWARE\MPU6050\inv_mpu.c
?????文件????????4651??2013-08-24?21:48??MPU6050(庫函數(shù)版dmp)\HARDWARE\MPU6050\inv_mpu.h
?????文件???????58414??2013-08-24?11:34??MPU6050(庫函數(shù)版dmp)\HARDWARE\MPU6050\inv_mpu_dmp_motion_driver.c
?????文件????????3538??2013-06-13?16:52??MPU6050(庫函數(shù)版dmp)\HARDWARE\MPU6050\inv_mpu_dmp_motion_driver.h
?????目錄???????????0??2015-10-08?21:42??MPU6050(庫函數(shù)版dmp)\HARDWARE\上位機\
?????文件????????1993??2013-08-24?18:01??MPU6050(庫函數(shù)版dmp)\HARDWARE\上位機\upload.c
?????文件?????????168??2013-08-24?18:01??MPU6050(庫函數(shù)版dmp)\HARDWARE\上位機\upload.h
?????目錄???????????0??2015-10-08?21:42??MPU6050(庫函數(shù)版dmp)\SYSTEM\
?????目錄???????????0??2015-10-08?21:42??MPU6050(庫函數(shù)版dmp)\SYSTEM\delay\
?????文件????????2067??2013-04-03?12:14??MPU6050(庫函數(shù)版dmp)\SYSTEM\delay\delay.c
?????文件?????????905??2013-04-03?12:14??MPU6050(庫函數(shù)版dmp)\SYSTEM\delay\delay.h
?????目錄???????????0??2015-10-08?21:42??MPU6050(庫函數(shù)版dmp)\SYSTEM\sys\
?????文件????????2225??2009-05-07?14:42??MPU6050(庫函數(shù)版dmp)\SYSTEM\sys\cortexm3_macro.h
?????文件????????6194??2009-05-07?14:42??MPU6050(庫函數(shù)版dmp)\SYSTEM\sys\stm32f10x_conf.h
?????文件????????4529??2012-12-18?12:35??MPU6050(庫函數(shù)版dmp)\SYSTEM\sys\stm32f10x_it.h
............此處省略97個文件信息

評論

共有 條評論