作者fmdjyl (小D(滴))
看板ASM
标题[问题] PIC18F的软体USART传送!
时间Tue Oct 14 23:52:16 2008
PIC18F系列有硬体USART一组,也有软体USART。
查了文件如下所述:
请问PORTB的TXPIN4和PORTB的RXPIN5
指的是RB4和RB5吗???
-----------------------------------------------------------------------
SWTXD equ PORTB ; Transmit pin port and pin
SWTXD pin equ 4
TRIS_SWTXD equ TRISB ; Transmit pin tris and pin
SWRXD equ PORTB ; Receive pin port and pin
SWRXD pin equ 5
TRIS_SWRXD equ TRISB ; Receive pin tris and pin
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 122.116.80.6
1F:推 gunseed:对滴 10/15 14:27