mirror of
https://github.com/usetrmnl/sensor_scanner.git
synced 2026-04-29 13:45:14 -07:00
17 lines
284 B
Bash
Executable File
17 lines
284 B
Bash
Executable File
#! /usr/bin/env bash
|
|
# save the current directory
|
|
pushd .
|
|
cd ~
|
|
mkdir Projects
|
|
cd Projects
|
|
git clone https://github.com/bitbank2/bb_scd41
|
|
cd bb_scd41/Linux
|
|
make
|
|
sudo apt install -y i2c-tools libi2c-dev
|
|
sudo raspi-config nonint do_i2c 0
|
|
|
|
# restore the original directory
|
|
popd
|
|
make
|
|
|