GitHub - shepting/raspberry-swift: Swift on Raspberry Pi | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

shepting/raspberry-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspberry-swift

Image

Swift 3.1 app on the Raspberry Pi 3

asciicast

Logging In & Building

This command will search the local network by MAC address and find ones that belong to Raspberry Pi devices.

sudo arp-scan --localnet --interface=en0 | grep b8:27:eb:

To log in, you will likely need to pass along the username, and (in my case) pass along the particular RSA key you have set up on the device.

ssh steven@172.20.10.6 -i ~/.ssh/raspberry_rsa

Then to build and run the app:

cd tank
swift build
sudo ./.build/debug/RaspberrySwift

Installing Swift

cd /
wget https://github.com/shepting/raspberry-swift/blob/master/archives/swift-3.1.1-RPi23-1604.tgz
sudo tar -xvzf swift-3.1.1-RPi23-1604.tgz
sudo apt install clang
sudo apt install libpython3.5-dev
sudo apt install libcurl3

Hardware Used

Talking Over I2C

Sample Python configuration and bit shifting: https://github.com/switchdoclabs/SDL_Pi_Grove4Ch16BitADC/blob/58e2a8e32b03d2c463bde59821d210b16a792ad1/Adafruit_ADS1x15/Adafruit_ADS1x15.py#L266-L268

Resources

About

Swift on Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.