Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- android studio
- selectc
- Post
- 하이퍼 터미널
- unalias
- solution
- 현재언어
- C++
- is_array
- function
- 점점변하는값
- application.mk
- halliday
- 0x
- 월별 카운트
- 파일존재
- Join
- mysql
- SQL
- 단축키
- cocos2d-x
- mathemetica
- Get
- 강좌
- Avr
- Java
- PORTG
- php
- array
- Call
Archives
- Today
- Total
목록스위치 (1)
코딩도사의 코드정리
AVR PORTG 스위치 다루기
#include #include void port_init(void) { PORTA = 0x00; DDRA = 0x00; PORTB = 0x00; DDRB = 0x00; PORTC = 0x00; //m103 output only DDRC = 0x00; PORTD = 0x00; DDRD = 0x00; PORTE = 0x00; DDRE = 0x00; PORTF = 0x00; DDRF = 0x00; PORTG = 0x00; DDRG = 0b00001111; } //call this routine to initialize all peripherals void init_devices(void) { //stop errant interrupts until set up cli(); //disable all interr..
컴퓨터 이야기/AVR
2015. 12. 9. 05:55