看板 MOD_AP 關於我們 聯絡資訊
想請問大家有看過怎麼樣的GPIO應用 雖然這個問題有點偏離FON的本意,不過或許能讓FON產生更大的經濟效益 目前最常看到的就是用GPIO加上MMC driver外接SD card 另外也有看到外接紅外線或是LCD的螢幕 http://0rz.tw/3a3jy 我想做的是用GPIO模擬serial port讀取一些設備的資料 因為原本的Serial connector只能進入console終端機 上面連結有提到好像可以關掉這個功能,讓Serial connector可以當232port使用 但是不確定這個方法的風險,怕一關掉連console都進不去沒辦法刷韌體就慘了 * Configure the kernel by make kernelconfig and change default kernel command string, deleting console use (Kernel Hacking / Default kernel command string). * In the kernel configuration too, remove serial console : Device Drivers / Character devices / Serial drivers / Console on 8250/16550 and compatible serial must be unchecked. * Remove serial login support by deleting the ttyS0 line in package/base-files /files/etc/inittab. 想請問有沒有人看到能用GPIO模擬serial console的資訊呢?謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 163.22.18.86
rextsai:他其實不是用 GPIO Ports, 而是拿 RX 來收紅外線 11/23 18:27
rextsai:不過你想拿遙控器叫你的 LaFonera 做什麼啊 ?! 11/23 18:31
rextsai:XD 11/23 18:31
sintsu:我知道他用RX收紅外線所以關掉login support 11/23 22:01
sintsu:不過我想用fon來收儀器的output data 11/23 22:03
sintsu:然後觸發程式把data送到遠端server 11/23 22:04