feat: Create GPIO monitor and basic callback functionality to print

This commit is contained in:
Jet Pham 2025-06-03 08:48:24 -07:00
parent 9b74fb2b8c
commit 18aa3dfaa8
No known key found for this signature in database
7 changed files with 616 additions and 0 deletions

15
deploy.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
# Exit on error
set -e
echo "Building for Raspberry Pi..."
cargo zigbuild --release --target aarch64-unknown-linux-gnu
echo "Copying to Raspberry Pi..."
scp target/aarch64-unknown-linux-gnu/release/noisebell noisebridge@noisebell.local:~/
echo "Setting permissions and restarting service..."
ssh noisebridge@noisebell.local "chmod +x ~/noisebell "
echo "Deployment complete!"