{"published":"2020-03-28 21:21:31","width":"100%","description":"#!/usr/bin/env python # -*- coding: utf-8 -*- # \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u8aad\u307f\u8fbc\u307f import RPi.GPIO as GPIO import time #\u30b9\u30a4\u30c3\u30c1 #17\u756a\u30dd\u30fc\u30c8\u3092\u5272\u308a\u5f53\u3066 SW1 = 17 #\u30b9\u30a4\u30c3\u30c1 GPIO.setup(SW1, GPIO.IN , pull_up_down=GPIO.PUD_UP) #\u30e1\u30fc\u30eb\u9001\u4fe1\u95a2\u6570 def send_mail(): #\u9001\u53d7\u4fe1\u5148 to_email = \"test@hoge.com\" from_email = \"test@hogehoge.com\" #MIMEText\u3092\u4f5c\u6210 message = \"Mes\u2026","author_url":"https://blog.hatena.ne.jp/mocchipa/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.richardh.work%2Fentry%2F2020%2F03%2F28%2F212131\" title=\"\u3010\u5099\u5fd8\u9332\u3011python3 Raspberry pi \u7269\u7406\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u30e1\u30fc\u30eb\u9001\u4fe1 - Rich Richer Richest\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"mocchipa","blog_title":"Rich Richer Richest","title":"\u3010\u5099\u5fd8\u9332\u3011python3 Raspberry pi \u7269\u7406\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u30e1\u30fc\u30eb\u9001\u4fe1","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/m/mocchipa/20200321/20200321161500.png","provider_url":"https://hatena.blog","version":"1.0","categories":["\u30e9\u30a4\u30d5\u30cf\u30c3\u30af","Raspberry pi","\u30ab\u30e1\u30e9","SONY RX100"],"blog_url":"https://www.richardh.work/","type":"rich","height":"190","provider_name":"Hatena Blog","url":"https://www.richardh.work/entry/2020/03/28/212131"}