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 | 29 | 30 | 31 |
Tags
- Call
- mathemetica
- SQL
- PORTG
- solution
- Post
- 월별 카운트
- 강좌
- mysql
- android studio
- php
- Java
- C++
- halliday
- 점점변하는값
- Avr
- 단축키
- is_array
- unalias
- array
- selectc
- Get
- application.mk
- cocos2d-x
- 현재언어
- 파일존재
- 하이퍼 터미널
- function
- Join
- 0x
Archives
- Today
- Total
목록PORTG (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