전체 글
-
led 점멸 하기카테고리 없음 2022. 7. 26. 18:37
import sys import RPi.GPIO as g import time def one_function( count, interval ) : print ( "one") count = int(count) interval = float(interval) for i in range(0, count): g.output(14, True) time.sleep( interval ) g.output(14, False) time.sleep( interval ) def multi_function( count, interval ) : print ( "multi") count = int(count) interval = float(interval) for i in range( 0, count ): g.output(14, ..
-
노화의 과정카테고리 없음 2022. 4. 11. 10:58
1. 2019년 가족들이랑 같이 나들이 가면 가방등 나들이 용품을 들어 주었다. 2. 2020년, 82세 걸음걸이가 느려지고, 앉았다 일어나기가 어려워진다. 지하철, 버스등 대중교통 이용이 어려워진다. 3. 2021년, 83세 가까운 거리도 승용차를 이용해야 한다. 방청소도 하지 않는다. 빨래도 하지 않는다. 음식도 데워 먹지 않는다. 숨이 가쁘다고, 죽는 날이 얼마 남지 않았다고, 포기한다. 노숙자 처럼 의욕 상실이다. 3. 2022년, 84세 잠자기전에 술을 먹고, 자다가 깨어 넘어져 다친다. 4. 2022. 4. 13 밥을 못겠다고한다. 입맛도 없고, 소화도 안된다고 한다. 병원에 가자고 해도 안간다. 밥을 같이 먹자고 해도 안먹고.못먹고, 밥을 챙겨드려로도 안먹고.못먹는다. 병원을 안간다. 대화를..
-
-
-
-
고정아이피 설정하기카테고리 없음 2022. 2. 27. 14:27
pi@raspberrypi:~ $ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: source /etc/network/interfaces.d/* auto wlan0 iface wlan0 inet static address 192.168.168.100 netmask 255.255.255.0 gateway 192.168.0.1 pi@raspi4:~ $ cat /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev up..