#define USB_CFG_IOPORTNAME D | USB輸入輸出引腳使用AVR單片機(jī)的PORTD,如果改成B就是使用PORTB |
#define USB_CFG_DMINUS_BIT 4 | USB的D-接PORTD的第四位PD4,對(duì)應(yīng)Arduino D4 |
#define USB_CFG_DPLUS_BIT 2 | USB的D+接PORTD的第二位PD2,對(duì)應(yīng)Arduino D2 |
#define USB_CFG_PULLUP_IOPORTNAME D | USB上拉引腳使用AVR單片機(jī)的PORTD,如果改成B就是使用PORTB |
#define USB_CFG_PULLUP_BIT 5 | USB的上拉電阻接PORTD的第五位PD5,對(duì)應(yīng)Arduino D5 |
歡迎光臨 (http://www.torrancerestoration.com/bbs/) | Powered by Discuz! X3.1 |