作者x04nonesuchx (GOD)
看板LinuxDev
標題[問題] Arduino的library可以在樹莓派上使用嗎
時間Tue Nov 17 22:00:47 2015
樹莓派新手發問@@
我現在有一個指紋模組
我是用library內建的test來辨識指紋特徵
但最近因為想要把東西都整合到樹莓派上
只差指紋模組的這個部分
看葉難的文章說因為Arduino有支援linux
所以可以在樹莓派上開發Arduino
但只為了使用這個模組就要在樹莓派上執行Arduino
會不會太北撩剛(台語)?
版上的大大有更好的方法嗎?
--
Sent from my Windows
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 192.83.195.188
※ 文章網址: https://www.ptt.cc/bbs/LinuxDev/M.1447768849.A.1D8.html
推 wtchen: 看不懂你的敘述,你如果是單純想要用Rpi用你的模組 11/17 22:35
→ wtchen: 卻不想改code,你就寫個小library讓Rpi可以藉serial port 11/17 22:36
→ wtchen: 跟Arduino溝通,然後Arduino把模組的data從serial port 11/17 22:37
→ wtchen: 傳到Rpi不就得了? 11/17 22:37
→ wtchen: arduino IDE 本身也有linux版本阿 11/17 22:38
→ wtchen: 把library匯入IDE你就能在linux上用了 11/17 22:39
推 soheadsome: Intel edison可以 因為他的arduino介面就只是個elf檔 11/18 11:34