93cs46 嗎
93c46 ..簡單吧 .使用 mov p1.0, 1 當 clock , 在使用另個 IO pin 當 data
再把資料 shift 到 IO port ..
我還寫過 IO port 模你 RS232 (UART) .. 先使用 edge trig 判斷 start
再使用 timer int + polling 判斷 bit 或是 bonce_noise ..
再一個個讀 ..因為那時 學校 project 是 兩個 rs232 port .
发表时间:2007年3月22日11:35:14