Last change
on this file since 138 was 136, checked in by ertl-honda, 9 years ago |
ライブラリとOS及びベーシックなサンプルの追加.
|
File size:
533 bytes
|
Rev | Line | |
---|
[136] | 1 | #ifdef TTOPEN_V1
|
---|
| 2 | #define __POWERPIN__ 5
|
---|
| 3 | #define __RESETPIN__ 6
|
---|
| 4 | #else
|
---|
| 5 | #define __RESETPIN__ 7
|
---|
| 6 | #endif
|
---|
| 7 |
|
---|
| 8 | #if defined(__AVR_ATmega328P__)
|
---|
| 9 | #ifdef TTOPEN_V1
|
---|
| 10 | #define __TXPIN__ 3
|
---|
| 11 | #define __RXPIN__ 4
|
---|
| 12 | #define __RXINT__ 3
|
---|
| 13 | #else
|
---|
| 14 | #define __TXPIN__ 3
|
---|
| 15 | #define __RXPIN__ 2
|
---|
| 16 | #define __RXINT__ 3
|
---|
| 17 | #endif
|
---|
| 18 | #elif defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__)
|
---|
| 19 | #define __TXPIN__ 3
|
---|
| 20 | #define __RXPIN__ 10
|
---|
| 21 | #define __RXINT__ 4
|
---|
| 22 | #elif defined(__AVR_ATmega32U4__)
|
---|
| 23 | #define __TXPIN__ 3
|
---|
| 24 | #define __RXPIN__ 8
|
---|
| 25 | #define __RXINT__ 3
|
---|
| 26 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.