This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from periphery import I2C | |
| import time | |
| import numpy as np | |
| import copy | |
| import pickle | |
| i2c = I2C("/dev/i2c-1") | |
| device_address = 0x1A |