#message only
import requests
url = "https://notify-api.line.me/api/notify"
token = "qmapg2FRrm4gt1V9Qfupz6eIAa05jDTNAw7xoGIU31Q"
headers = {"Authorization" : "Bearer "+ token}
message = "そぞら@プログラミングに夢中すぎる会社員より"
payload = {"message" : message}
r = requests.post(url, headers = headers, params=payload)
# imageをLINEに挿入 --- (*2)
TOKEN='qmapg2FRrm4gt1V9Qfupz6eIAa05jDTNAw7xoGIU31Q'
API = 'https://notify-api.line.me/api/notify'
import requests
fname='./image.jpg'
post_data = {'message': '侵入者アリ'}
headers = {'Authorization': 'Bearer ' + TOKEN}
files={'imageFile': open(fname,'rb')}
requests.post(API, data=post_data,headers=headers,files=files)
----------------------------------------------------------------
avrdude: Warning: cannot open USB device: Permission denied - shangtian’s blog
https://www.shangtian.tokyo/entry/2021/06/19/104814#:~:text=%E3%81%BE%E3%81%9A%E3%81%AFlsusb%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%81%A7%E3%83%87%20%E3%83%90%E3%82%A4%E3%82%B9%20%E3%82%92%E6%8E%A2%E3%81%97%E3%81%AB%E8%A1%8C%E3%81%8F%E3%80%82%20USBasp%E3%82%92%E6%8C%BF%E3%81%97%E3%81%9F%E7%8A%B6%E6%85%8B%E3%81%A8%E6%8A%9C%E3%81%84%E3%81%9F%E7%8A%B6%E6%85%8B%E3%81%A7%E6%AF%94%E8%BC%83%E3%81%97%E3%81%A6%E3%83%87%20%E3%83%90%E3%82%A4%E3%82%B9%20%E3%82%92%E7%89%B9%E5%AE%9A%E3%81%97%E3%81%A6%E3%81%84%E3%81%8F%E3%81%A8%E3%80%81%E3%81%86%E3%81%BE%E3%81%8F%E8%A1%8C%E3%81%8F%E3%81%8B%E3%81%AA%E3%80%82%20%24%20lsusb,Bus%20003%20Device%20015%3A%20ID...........................%20%E5%85%88%E7%A8%8Blsusb%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%81%A7%E3%83%87%20%E3%83%90%E3%82%A4%E3%82%B9%20%E3%82%92%E7%89%B9%E5%AE%9A%E3%81%97%E3%81%9F%E3%80%82
https://qiita.com/aKuad/items/2a41c1d7fc58a403efb2 :: main
https://www.exasub.com/component/integrated-circuit/microcontroller/avr/how-to-install-avr-gcc-compiler-in-raspberry-pi/ :: sub
botth for gcc-avr ,avr-libc
https://www.rikachann.jp/blog/pengin/archives/216 :: avra