BASIC4MCU | 질문게시판 | 답변 : avr studio4 if구문 만들기
페이지 정보
작성자 master 작성일2020-04-03 20:48 조회4,948회 댓글0건
https://www.basic4mcu.com/bbs/board.php?bo_table=gac&wr_id=11827
본문
while(1){PORTB=0x01; delay_ms(500);PORTB=0x02; delay_ms(500);PORTB=0x04; delay_ms(500);PORTB=0x08; delay_ms(500);PORTB=0x10; delay_ms(500);PORTB=0x20; delay_ms(500);PORTB=0x40; delay_ms(500);PORTB=0x80; delay_ms(500);}
int i;while(1){for(i=0;i<8;i++){ PORTB=1<<i; delay_ms(500); }}
https://www.basic4mcu.com/bbs/board.php?bo_table=gesiyo6&wr_id=63
게시판 강좌글을 공부해보세요
댓글 0
조회수 4,948등록된 댓글이 없습니다.