Compare commits
No commits in common. "main" and "2.0" have entirely different histories.
@ -44,7 +44,7 @@ source setup.sh
|
||||
## Alternative method
|
||||
|
||||
> [!NOTE]
|
||||
> This is the alternative method, using **AdaFruit library**. This method has been tested on Raspberry Pi 3B. For easier setup, checkout [## Main method](https://git.kska.io/notkshitij/DHT11#main-method)
|
||||
> This is the alternative method, using **AdaFruit library**. This method doesnt' seem to work on our college Raspberry Pi 3's. For easiler setup, checkout [## Main method](https://git.kska.io/notkshitij/DHT11#main-method)
|
||||
|
||||
1. Install prerequisite packages:
|
||||
```shell
|
||||
|
@ -67,7 +67,8 @@ if [ ! -d "$PROJECT_DIR" ]; then
|
||||
cp "./alt-temp.py" "./blinka-test.py" "$PROJECT_DIR/"
|
||||
echo -e "$line\nCreated '$PROJECT_DIR' directory.\n$line\n"
|
||||
else
|
||||
echo -e "$line\n$PROJECT_DIR already exists.\n$line\n"
|
||||
echo -e "$line\n$PROJECT_DIR already exists. Please delete the folder before running this script.\n$line\n\nExiting..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create and activate Python virtual environment
|
||||
|
3
setup.sh
3
setup.sh
@ -59,7 +59,8 @@ if [ ! -d "$PROJECT_DIR" ]; then
|
||||
cp -r "./DHT11_Python/" "$PROJECT_DIR/DHT11_Python"
|
||||
echo -e "$line\nCreated '$PROJECT_DIR' directory.\n$line\n"
|
||||
else
|
||||
echo -e "$line\n$PROJECT_DIR already exists.\n$line\n"
|
||||
echo -e "$line\n$PROJECT_DIR already exists. Please delete the folder before running this script.\n$line\n\nExiting..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create and activate Python virtual environment
|
||||
|
Loading…
Reference in New Issue
Block a user