文件名称:xunlidiqiuyi
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2015-01-05
- 文件大小:
- 448kb
- 下载次数:
- 0次
- 提 供 者:
- w**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
#include <io.h>
#include <interrupt.h>
#include <pgmspace.h>
#include <led_data.h>
#include <led_text.h>
#define bit_set(port_address,bit_serial) ((port_address) |= (1 < bit_serial))
#define bit_clear(port_address,bit_serial) ((port_address) &= ~(1 < bit_serial))
#define bit_get(port_address,bit_serial) ((port_address) & (1 < bit_serial))
#define BANK_0_ON bit_clear(PORTC,PORTC2)
#define BANK_1_ON bit_clear(PORTC,PORTC3)
#define BANK_2_ON bit_clear(PORTC,PORTC5)
#define BANK_3_ON bit_clear(PORTC,PORTC4)
#define BANK_0_OFF bit_set(PORTC,PORTC2)
#define BANK_1_OFF bit_set(PORTC,PORTC3)
#define BANK_2_OFF bit_set(PORTC,PORTC5)
#define BANK_3_OFF bit_set(PORTC,PORTC4) -#include <io.h>
#include <interrupt.h>
#include <pgmspace.h>
#include <led_data.h>
#include <led_text.h>
#define bit_set(port_address,bit_serial) ((port_address) |= (1 << bit_serial))
#define bit_clear(port_address,bit_serial) ((port_address) &= ~(1 << bit_serial))
#define bit_get(port_address,bit_serial) ((port_address) & (1 << bit_serial))
#define BANK_0_ON bit_clear(PORTC,PORTC2)
#define BANK_1_ON bit_clear(PORTC,PORTC3)
#define BANK_2_ON bit_clear(PORTC,PORTC5)
#define BANK_3_ON bit_clear(PORTC,PORTC4)
#define BANK_0_OFF bit_set(PORTC,PORTC2)
#define BANK_1_OFF bit_set(PORTC,PORTC3)
#define BANK_2_OFF bit_set(PORTC,PORTC5)
#define BANK_3_OFF bit_set(PORTC,PORTC4)
#include <interrupt.h>
#include <pgmspace.h>
#include <led_data.h>
#include <led_text.h>
#define bit_set(port_address,bit_serial) ((port_address) |= (1 < bit_serial))
#define bit_clear(port_address,bit_serial) ((port_address) &= ~(1 < bit_serial))
#define bit_get(port_address,bit_serial) ((port_address) & (1 < bit_serial))
#define BANK_0_ON bit_clear(PORTC,PORTC2)
#define BANK_1_ON bit_clear(PORTC,PORTC3)
#define BANK_2_ON bit_clear(PORTC,PORTC5)
#define BANK_3_ON bit_clear(PORTC,PORTC4)
#define BANK_0_OFF bit_set(PORTC,PORTC2)
#define BANK_1_OFF bit_set(PORTC,PORTC3)
#define BANK_2_OFF bit_set(PORTC,PORTC5)
#define BANK_3_OFF bit_set(PORTC,PORTC4) -#include <io.h>
#include <interrupt.h>
#include <pgmspace.h>
#include <led_data.h>
#include <led_text.h>
#define bit_set(port_address,bit_serial) ((port_address) |= (1 << bit_serial))
#define bit_clear(port_address,bit_serial) ((port_address) &= ~(1 << bit_serial))
#define bit_get(port_address,bit_serial) ((port_address) & (1 << bit_serial))
#define BANK_0_ON bit_clear(PORTC,PORTC2)
#define BANK_1_ON bit_clear(PORTC,PORTC3)
#define BANK_2_ON bit_clear(PORTC,PORTC5)
#define BANK_3_ON bit_clear(PORTC,PORTC4)
#define BANK_0_OFF bit_set(PORTC,PORTC2)
#define BANK_1_OFF bit_set(PORTC,PORTC3)
#define BANK_2_OFF bit_set(PORTC,PORTC5)
#define BANK_3_OFF bit_set(PORTC,PORTC4)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
xunlidiqiuyi\球随心动-自制绚丽地球仪(附代码+原理图\电路图 程序代码.rar
............\......................................\自定义图像工具.rar
............\球随心动-自制绚丽地球仪(附代码+原理图
xunlidiqiuyi
............\球随心动-自制绚丽地球仪(附代码+原理图\电路图 程序代码\schematic&code\globe.c
............\......................................\...............\..............\led_data.h
............\......................................\...............\..............\led_text.h
............\......................................\...............\..............\pgmspace.h
............\......................................\...............\..............\schematic.jpg
............\......................................\...............\schematic&code
............\......................................\电路图 程序代码