代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
led.c
#include
#include
#include "option.h"
#include "strata16.h"
volatile unsigned int * pLedData;
#define rGPFCON (*(volatile unsigned *)0x56000050)
#define rGPFDAT (*(volat
led.c
#define IN_TGPIO
#include "config.h"
#define LED 16 // P2.16 controle LED
int main(void)
{
int fd;
uint32 val;
fd = open("/dev/P2", O_RDONLY);
if(fd == -1)
{
print
led.h
/**********************************************************************
*
* Filename: led.h
*
* Description: Header file for LED-related functionality.
*
* Notes: The constants i
led.c
/**********************************************************************
*
* Filename: led.c
*
* Description: LED-related functionality.
*
* Notes: The constants in this file are
led.cpp
/**********************************************************************
*
* Filename: led.cpp
*
* Description: A memory-mapped PCB version of the LED functions.
*
* Notes: The co