Submit Search
Upload
Swift on raspberry pi
•
Download as PPTX, PDF
•
1 like
•
407 views
iCHEF
Follow
透過Raspberry Pi編譯Swift,並可實際操作GPIO,找出更多可行的運用
Read less
Read more
Technology
Report
Share
Report
Share
1 of 15
Download now
Recommended
How to twist a IPv6 over Bluetooth (6lowpan)
How to twist a IPv6 over Bluetooth (6lowpan)
Naoto MATSUMOTO
RabbitMQ Server - cheat sheet -
RabbitMQ Server - cheat sheet -
Naoto MATSUMOTO
FreeBSD preseed installation (PXE) AsiaBSDCon 2015
FreeBSD preseed installation (PXE) AsiaBSDCon 2015
Kamil Czekirda
How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-
Naoto MATSUMOTO
MQTTS mosquitto - cheat sheet -
MQTTS mosquitto - cheat sheet -
Naoto MATSUMOTO
GCC ARM nRF51 IoT SDK -cheat sheet-
GCC ARM nRF51 IoT SDK -cheat sheet-
Naoto MATSUMOTO
How to Install Ghost (CMS) MEMO
How to Install Ghost (CMS) MEMO
Naoto MATSUMOTO
Install Quagga - CheatSheet -
Install Quagga - CheatSheet -
Naoto MATSUMOTO
Recommended
How to twist a IPv6 over Bluetooth (6lowpan)
How to twist a IPv6 over Bluetooth (6lowpan)
Naoto MATSUMOTO
RabbitMQ Server - cheat sheet -
RabbitMQ Server - cheat sheet -
Naoto MATSUMOTO
FreeBSD preseed installation (PXE) AsiaBSDCon 2015
FreeBSD preseed installation (PXE) AsiaBSDCon 2015
Kamil Czekirda
How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-
Naoto MATSUMOTO
MQTTS mosquitto - cheat sheet -
MQTTS mosquitto - cheat sheet -
Naoto MATSUMOTO
GCC ARM nRF51 IoT SDK -cheat sheet-
GCC ARM nRF51 IoT SDK -cheat sheet-
Naoto MATSUMOTO
How to Install Ghost (CMS) MEMO
How to Install Ghost (CMS) MEMO
Naoto MATSUMOTO
Install Quagga - CheatSheet -
Install Quagga - CheatSheet -
Naoto MATSUMOTO
Vagrant勉強会 チュートリアル編
Vagrant勉強会 チュートリアル編
Yasuyuki Sugai
Hello, Worldまで3ヶ月 Golangでファミコンエミュレータ実装 #gocon fukuoka 2019
Hello, Worldまで3ヶ月 Golangでファミコンエミュレータ実装 #gocon fukuoka 2019
ichikaway
How to Install nRF51 IPv6 over Bluetooth using MDK-ARM+IoT SDK
How to Install nRF51 IPv6 over Bluetooth using MDK-ARM+IoT SDK
Naoto MATSUMOTO
GNS3
GNS3
Jim Calano
Router Virtualization With GNS3
Router Virtualization With GNS3
mrmouse
Gns3
Gns3
Bahaa Aladdin
论文答辩
论文答辩
wensheng wei
JCache is here. Say Goodbye to proprietary Caching APIs!
JCache is here. Say Goodbye to proprietary Caching APIs!
Jaromir Hamala
Minio: Associated projects in Go programming.
Minio: Associated projects in Go programming.
Atul Jha
UP Board AI Core Configuration memo
UP Board AI Core Configuration memo
Naoto MATSUMOTO
Pci passthrough
Pci passthrough
Chia-An Lee
How to Connect MQTT Broker on ESP8266 WiFi
How to Connect MQTT Broker on ESP8266 WiFi
Naoto MATSUMOTO
JCache is here. Say goodbye to proprietary Caching API's", jDays 2015 Speaker...
JCache is here. Say goodbye to proprietary Caching API's", jDays 2015 Speaker...
hamidsamadi
Install Cuckoo on Mac OS X
Install Cuckoo on Mac OS X
Mohd Khairulazam
Sfd hanoi2012 nguyen nang thang sfd-2012_chroot_apache
Sfd hanoi2012 nguyen nang thang sfd-2012_chroot_apache
Vu Hung Nguyen
Free5 gc installation
Free5 gc installation
Chia-An Lee
2A soporte y mantenimiento #descarga de instaladores de software
2A soporte y mantenimiento #descarga de instaladores de software
alejand47104271
Configure a Riak Cluster
Configure a Riak Cluster
Jeffrey Kirkell
install mosquitto-auth-plug - cheat sheet -
install mosquitto-auth-plug - cheat sheet -
Naoto MATSUMOTO
My journey from PHP to Node.js
My journey from PHP to Node.js
Valentin Lup
臺灣產業分級及統計資料
臺灣產業分級及統計資料
Hans Ho
產業研究輪廓 產業研究如何寫
產業研究輪廓 產業研究如何寫
5045033
More Related Content
What's hot
Vagrant勉強会 チュートリアル編
Vagrant勉強会 チュートリアル編
Yasuyuki Sugai
Hello, Worldまで3ヶ月 Golangでファミコンエミュレータ実装 #gocon fukuoka 2019
Hello, Worldまで3ヶ月 Golangでファミコンエミュレータ実装 #gocon fukuoka 2019
ichikaway
How to Install nRF51 IPv6 over Bluetooth using MDK-ARM+IoT SDK
How to Install nRF51 IPv6 over Bluetooth using MDK-ARM+IoT SDK
Naoto MATSUMOTO
GNS3
GNS3
Jim Calano
Router Virtualization With GNS3
Router Virtualization With GNS3
mrmouse
Gns3
Gns3
Bahaa Aladdin
论文答辩
论文答辩
wensheng wei
JCache is here. Say Goodbye to proprietary Caching APIs!
JCache is here. Say Goodbye to proprietary Caching APIs!
Jaromir Hamala
Minio: Associated projects in Go programming.
Minio: Associated projects in Go programming.
Atul Jha
UP Board AI Core Configuration memo
UP Board AI Core Configuration memo
Naoto MATSUMOTO
Pci passthrough
Pci passthrough
Chia-An Lee
How to Connect MQTT Broker on ESP8266 WiFi
How to Connect MQTT Broker on ESP8266 WiFi
Naoto MATSUMOTO
JCache is here. Say goodbye to proprietary Caching API's", jDays 2015 Speaker...
JCache is here. Say goodbye to proprietary Caching API's", jDays 2015 Speaker...
hamidsamadi
Install Cuckoo on Mac OS X
Install Cuckoo on Mac OS X
Mohd Khairulazam
Sfd hanoi2012 nguyen nang thang sfd-2012_chroot_apache
Sfd hanoi2012 nguyen nang thang sfd-2012_chroot_apache
Vu Hung Nguyen
Free5 gc installation
Free5 gc installation
Chia-An Lee
2A soporte y mantenimiento #descarga de instaladores de software
2A soporte y mantenimiento #descarga de instaladores de software
alejand47104271
Configure a Riak Cluster
Configure a Riak Cluster
Jeffrey Kirkell
install mosquitto-auth-plug - cheat sheet -
install mosquitto-auth-plug - cheat sheet -
Naoto MATSUMOTO
My journey from PHP to Node.js
My journey from PHP to Node.js
Valentin Lup
What's hot
(20)
Vagrant勉強会 チュートリアル編
Vagrant勉強会 チュートリアル編
Hello, Worldまで3ヶ月 Golangでファミコンエミュレータ実装 #gocon fukuoka 2019
Hello, Worldまで3ヶ月 Golangでファミコンエミュレータ実装 #gocon fukuoka 2019
How to Install nRF51 IPv6 over Bluetooth using MDK-ARM+IoT SDK
How to Install nRF51 IPv6 over Bluetooth using MDK-ARM+IoT SDK
GNS3
GNS3
Router Virtualization With GNS3
Router Virtualization With GNS3
Gns3
Gns3
论文答辩
论文答辩
JCache is here. Say Goodbye to proprietary Caching APIs!
JCache is here. Say Goodbye to proprietary Caching APIs!
Minio: Associated projects in Go programming.
Minio: Associated projects in Go programming.
UP Board AI Core Configuration memo
UP Board AI Core Configuration memo
Pci passthrough
Pci passthrough
How to Connect MQTT Broker on ESP8266 WiFi
How to Connect MQTT Broker on ESP8266 WiFi
JCache is here. Say goodbye to proprietary Caching API's", jDays 2015 Speaker...
JCache is here. Say goodbye to proprietary Caching API's", jDays 2015 Speaker...
Install Cuckoo on Mac OS X
Install Cuckoo on Mac OS X
Sfd hanoi2012 nguyen nang thang sfd-2012_chroot_apache
Sfd hanoi2012 nguyen nang thang sfd-2012_chroot_apache
Free5 gc installation
Free5 gc installation
2A soporte y mantenimiento #descarga de instaladores de software
2A soporte y mantenimiento #descarga de instaladores de software
Configure a Riak Cluster
Configure a Riak Cluster
install mosquitto-auth-plug - cheat sheet -
install mosquitto-auth-plug - cheat sheet -
My journey from PHP to Node.js
My journey from PHP to Node.js
Viewers also liked
臺灣產業分級及統計資料
臺灣產業分級及統計資料
Hans Ho
產業研究輪廓 產業研究如何寫
產業研究輪廓 產業研究如何寫
5045033
企業與產業環境分析模式
企業與產業環境分析模式
Hans Ho
經營市場預測與分析模式
經營市場預測與分析模式
Hans Ho
Ebooking簡報
Ebooking簡報
誼峰 陳
產業分析研究方法
產業分析研究方法
Hans Ho
產業競爭分析期末報告(統整版)
產業競爭分析期末報告(統整版)
Po-Chen Lo
產業分析基本概念
產業分析基本概念
Hans Ho
產業分析:航空
產業分析:航空
Collaborator
長榮航空-企業個案分析EVA AIRWAYS CASE STUDY
長榮航空-企業個案分析EVA AIRWAYS CASE STUDY
嬿婷 陳
Viewers also liked
(10)
臺灣產業分級及統計資料
臺灣產業分級及統計資料
產業研究輪廓 產業研究如何寫
產業研究輪廓 產業研究如何寫
企業與產業環境分析模式
企業與產業環境分析模式
經營市場預測與分析模式
經營市場預測與分析模式
Ebooking簡報
Ebooking簡報
產業分析研究方法
產業分析研究方法
產業競爭分析期末報告(統整版)
產業競爭分析期末報告(統整版)
產業分析基本概念
產業分析基本概念
產業分析:航空
產業分析:航空
長榮航空-企業個案分析EVA AIRWAYS CASE STUDY
長榮航空-企業個案分析EVA AIRWAYS CASE STUDY
Similar to Swift on raspberry pi
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
TE4P
Qemu - Raspberry | while42 Singapore #2
Qemu - Raspberry | while42 Singapore #2
While42
Pentesting111111 Cheat Sheet_OSCP_2023.pdf
Pentesting111111 Cheat Sheet_OSCP_2023.pdf
faker1842002
[CB20] Vulnerabilities of Machine Learning Infrastructure by Sergey Gordeychik
[CB20] Vulnerabilities of Machine Learning Infrastructure by Sergey Gordeychik
CODE BLUE
Cacti安装手册
Cacti安装手册
Yiwei Ma
Raspberry pi Beginners Session
Raspberry pi Beginners Session
Anant Shrivastava
Build the internet of things with Raspberry Pi!
Build the internet of things with Raspberry Pi!
Donald Derek Haddad
ByPat博客出品Lvs+keepalived
ByPat博客出品Lvs+keepalived
redhat9
Qt native built for raspberry zero
Qt native built for raspberry zero
SoheilSabzevari2
NAS Botnet Revealed - Mining Bitcoin
NAS Botnet Revealed - Mining Bitcoin
Davide Cioccia
Lab manual
Lab manual
BNilavara
9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training
videos
Joomla on Raspberry Pi using Nginx - Nederlandse Linux Gebruikers Group novem...
Joomla on Raspberry Pi using Nginx - Nederlandse Linux Gebruikers Group novem...
Peter Martin
Great Hiroshima with Python 170830
Great Hiroshima with Python 170830
Takuya Nishimoto
Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册
Yiwei Ma
OSCP Preparation Guide @ Infosectrain
OSCP Preparation Guide @ Infosectrain
InfosecTrain
X64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 new
Yiwei Ma
Rete di casa e raspberry pi - Home network and Raspberry Pi
Rete di casa e raspberry pi - Home network and Raspberry Pi
Daniele Albrizio
JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)
JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)
Nikolai Ischenko
NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)
Ryo ONODERA
Similar to Swift on raspberry pi
(20)
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Qemu - Raspberry | while42 Singapore #2
Qemu - Raspberry | while42 Singapore #2
Pentesting111111 Cheat Sheet_OSCP_2023.pdf
Pentesting111111 Cheat Sheet_OSCP_2023.pdf
[CB20] Vulnerabilities of Machine Learning Infrastructure by Sergey Gordeychik
[CB20] Vulnerabilities of Machine Learning Infrastructure by Sergey Gordeychik
Cacti安装手册
Cacti安装手册
Raspberry pi Beginners Session
Raspberry pi Beginners Session
Build the internet of things with Raspberry Pi!
Build the internet of things with Raspberry Pi!
ByPat博客出品Lvs+keepalived
ByPat博客出品Lvs+keepalived
Qt native built for raspberry zero
Qt native built for raspberry zero
NAS Botnet Revealed - Mining Bitcoin
NAS Botnet Revealed - Mining Bitcoin
Lab manual
Lab manual
9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training
Joomla on Raspberry Pi using Nginx - Nederlandse Linux Gebruikers Group novem...
Joomla on Raspberry Pi using Nginx - Nederlandse Linux Gebruikers Group novem...
Great Hiroshima with Python 170830
Great Hiroshima with Python 170830
Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册
OSCP Preparation Guide @ Infosectrain
OSCP Preparation Guide @ Infosectrain
X64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 new
Rete di casa e raspberry pi - Home network and Raspberry Pi
Rete di casa e raspberry pi - Home network and Raspberry Pi
JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)
JEEconf - Nikolas Ischenko - Java embedded why 8 not 11 (one comma was missed)
NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)
Recently uploaded
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Khem
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Slack Application Development 101 Slides
Slack Application Development 101 Slides
praypatel2
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Enterprise Knowledge
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Katpro Technologies
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Antenna Manufacturer Coco
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
naman860154
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
Recently uploaded
(20)
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Slack Application Development 101 Slides
Slack Application Development 101 Slides
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Swift on raspberry pi
1.
Swift Х Raspberry
Pi
2.
I am Mason ◉
A beginner in iOS ◉ Intern at iCHEF Swift meetup
3.
“ 感恩 seafood,讚歎 seafood Swift
Swift
4.
Raspberry Pi х Swift
5.
Requirements ◉Raspberry Pi 2
Model B ◉8 GB microSD card ◉USB wireless adapter
6.
Operation System ◉Raspbian Jessie
from raspberrypi.org
7.
Getting Started ◉Copy the
Raspbian image on microSD card ◉Resize the Raspbian image partition ◉Setup the Internet environment
8.
sudo vi /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant
GROUP=netdev update_config=1 network={ ssid=”Mission” psk=”00000000" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP auth_alg=OPEN }
9.
Prerequisites Install clang-3.6 and
libicu-dev via apt-get wget http://repos.rcn-ee.com/debian/pool/main/r/rcn-ee-archive-keyring/ rcn-ee-archive-keyring_2015.10.22~bpo90+20151022+1_all.deb sudo dpkg -i rcn-ee-archive-keyring_2015.10.22~bpo90+20151022+1_all.deb echo "deb [arch=armhf] http://repos.rcn-ee.com/debian/ jessie main" | sudo tee --append /etc/apt/sources.list sudo apt-get update
10.
Prerequisites sudo apt-get install
libicu-dev sudo apt-get install clang-3.6 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.6 100 sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.6 100
11.
Install Swift 2.2 ◉
Add the @iachievedit repository key wget -qO- http://dev.iachieved.it/iachievedit.gpg.key | sudo apt-key add - ◉ Add the repository to source.list echo "deb [arch=armhf] http://iachievedit-repos.s3.amazonaws.com/ jessie main" | sudo tee --append /etc/apt/sources.list ◉ Install Swift 2.2 sudo apt-get update sudo apt-get install swift-2.2
12.
SwiftGPIO ◉ Manually download
SwiftGPIO.swift wget https://raw.githubusercontent.com/uraimo/SwiftyGPIO/master/Sources/ SwiftyGPIO.swift
13.
SwiftGPIO ◉ Create a
main.swift file and make our Raspberry Pi lighten up a LED. import Glibc let gpios = SwiftyGPIO.getGPIOsForBoard(.RaspberryPi2) gpios[.P26]!.direction = .OUT while true { gpios[.P26]!.value = 1 }
14.
SwiftGPIO ◉ Compile it swiftc
SwiftyGPIO.swift main.swift ◉ Run it sudo ./main
15.
Q & A You
can find this article at my medium blog. https://medium.com/@MissionKao
Download now