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