资源简介
该程序为德州仪器的Tiva C 系列的单片机TM4C123GH6PM型号单片机配套自带的显示屏驱动程序
代码片段和文件信息
#include “TM4C123GH6PM.h“
#include
#include
#include
#include “LCDDriver.h“
#include
#include
#include “inc/hw_memmap.h“
#include “inc/hw_types.h“
#include “driverlib/debug.h“
#include “driverlib/sysctl.h“
#include “driverlib/adc.h“
#include “LCDDriver.h“
unsigned char TempAvg[4]={1234};
unsigned char TempValueC[2]={77};
unsigned char TempValueF[2]={99};
unsigned char number = ‘0‘;
int main(void)
{
uint32_t ui32ADC0Value[4];
SysCtlClockSet(SYSCTL_SYSDIV_5|SYSCTL_USE_PLL|SYSCTL_OSC_MAIN|SYSCTL_XTAL_16MHZ);
LCD_Enable();
LCD_Init();
LCD_ScreenClr();
while(1)
{
LCD_Draw_Char(number + TempAvg[0] 10);
LCD_Draw_Char(number + TempAvg[1] 18);
LCD_Draw_Char(number + TempAvg[2] 116);
LCD_Draw_Char(number + TempAvg[3] 124);
LCD_Draw_Char(number + TempValueC[0] 20);
LCD_Draw_Char(number + TempValueC[1] 28);
LCD_Draw_Char(number + TempValueF[0] 30);
LCD_Draw_Char(number + TempValueF[1] 38);
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 92557 2019-08-04 14:58 slefLCD(TM4C123)\ACFly EDU.uvguix.Mr.大任
....... 17244 2019-08-02 18:53 slefLCD(TM4C123)\ACFly EDU.uvoptx
....... 16686 2019-08-02 16:59 slefLCD(TM4C123)\ACFly EDU.uvprojx
文件 394 2018-05-26 16:04 slefLCD(TM4C123)\Clean.bat
文件 1799 2013-06-11 10:47 slefLCD(TM4C123)\Device\Include\TM4C123\system_TM4C123.h
文件 3430 2014-02-27 10:10 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C123.h
文件 90712 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1230C3PM.h
文件 90712 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1230D5PM.h
文件 90974 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1230E6PM.h
文件 91498 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1230H6PM.h
文件 92786 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1231C3PM.h
文件 92786 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1231D5PM.h
文件 95746 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1231D5PZ.h
文件 93048 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1231E6PM.h
文件 96008 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1231E6PZ.h
文件 98656 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1231H6PGE.h
文件 93572 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1231H6PM.h
文件 96532 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1231H6PZ.h
文件 106385 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1232C3PM.h
文件 106385 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1232D5PM.h
文件 106647 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1232E6PM.h
文件 107171 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1232H6PM.h
文件 108459 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1233C3PM.h
文件 108459 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1233D5PM.h
文件 111419 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1233D5PZ.h
文件 108721 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1233E6PM.h
文件 111681 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1233E6PZ.h
文件 114329 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1233H6PGE.h
文件 109245 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1233H6PM.h
文件 112205 2015-03-23 11:51 slefLCD(TM4C123)\Device\Include\TM4C123\TM4C1233H6PZ.h
............此处省略647个文件信息
- 上一篇:STM32F103+W5500做的web服务
- 下一篇:KUKA以太网通讯设置
评论
共有 条评论