Copy & Paste
keep records
2010/04/03
linux echo command
As I was requested to light up some LEDs on my board, one binary from my colleague was used. But I tried in this easy way...
11111100 (bin) > 0374 (oct)
The last two bits stand for two LEDs.
box# echo -e \\0374 > /dev/gpio0
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言