This file contains 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
#!/usr/bin/env python3 | |
import board | |
import neopixel | |
import time | |
import VL53L0X | |
# Create a VL53L0X object | |
tof = VL53L0X.VL53L0X() | |
# Start ranging | |
tof.start_ranging(VL53L0X.VL53L0X_BETTER_ACCURACY_MODE) |
This file contains 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
~~~Pi3B+ /etc/dhcpcd.conf | |
interface eth0 | |
static ip_address=10.20.16.100/24 | |
static routers=10.20.16.1 | |
interface usb0 | |
static ip_address=10.20.16.101/24 | |
static routers=10.20.16.1 | |
interface usb1 |