Bye Bye Moore

PoCソルジャーな零細事業主が作業メモを残すブログ

2023-06-07から1日間の記事一覧

Raspberry Pi 3B+とRaspberry Pi Picoを連動させる その3:RasPi3B+側のI2C受信

実際のところ 3B+側 # Raspberry Pi 3B+ (Python) import smbus import time import json import sqlite3 import streamlit as st # Setup I2C bus = smbus.SMBus(1) # Setup SQLite3 conn = sqlite3.connect('data.db') c = conn.cursor() # Create table c…