test

test无评论

2014年6月3日 上午7:06分类:其他 阅读: 9,702 次

#include <wiringPi.h> #include <stdio.h> #include <stdlib.h> #include <time.h> typedef unsigned char uint8; typedef unsigned int uint16; typedef unsigned long uint32; int Max7219_pinCLK = 3; int Max7219_pinCS = 4; int Max7219_pinDIN = 5; int i2cAddress=0x5; #define HIGH_TIME 32 int pinNumber =1; //use gpio1 to read data uint32 databuf; int led0=0; int maxc=0; int maxa=2000; ...


【阅读全文】