- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 448kb
- Update:
- 2015-01-05
- Downloads:
- 0 Times
- Uploaded by:
- www
Description: #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)
To Search:
File list (Check if you may need any files):
xunlidiqiuyi\球随心动-自制绚丽地球仪(附代码+原理图\电路图 程序代码.rar
............\......................................\自定义图像工具.rar
............\球随心动-自制绚丽地球仪(附代码+原理图
xunlidiqiuyi
............\球随心动-自制绚丽地球仪(附代码+原理图\电路图 程序代码\schematic&code\globe.c
............\......................................\...............\..............\led_data.h
............\......................................\...............\..............\led_text.h
............\......................................\...............\..............\pgmspace.h
............\......................................\...............\..............\schematic.jpg
............\......................................\...............\schematic&code
............\......................................\电路图 程序代码