라즈베리파이제로 3

<라즈베리파이 제로> LED 점멸 테스트

먼저 정말 유용한 참고 사이트 공유 gpiozero.readthedocs.io/en/stable/index.html LED 점멸을 테스트하기 위해서 아래 과정대로 준비해봅니다. 1. Install Python lib sudo apt-get install python3-gpiozero python-gpiozero 2. Create Program blink.py 라는 이름으로 프로그램을 만들어본다. from gpiozero import LED from time import sleep led = LED(21) while true: led.on() sleep(1) led.off() sleep(1) 3. Run the program python blink.py 4-1 HW Structure 4. 동작

<라즈베리파이 제로> SSH over USB ( Internet )

SD카드를 빼서 리더기에 삽입하고 리눅스 OS 컴퓨터에서 리딩한다 1. 볼륨 확인 2. SSH 활성화 touch /Volumes/boot/ssh 3. config.txt 수정 Boot 폴더 안에 있는 config.txt 를 수정하자 dtoverlay=dwc2 4. Edit cmdline.txt vi cmdline.txt After rootwait, append this text leaving only one space between rootwait and the new text (otherwise it might not be parsed correctly) 5. Boot on SD Put the SD card into the Pi Zero Plug a Micro-USB cable into the data..