MSP430g2553 nrf24l01.docVIP

  • 5
  • 0
  • 约8.12万字
  • 约 16页
  • 2016-09-13 发布于河南
  • 举报
MSP430g2553 nrf24l01

MSP430g2553 nrf24l01 #include io430.h #include API.h typedef unsigned char uchar; #define BIT(x) (1 (x)) #define CE 7 #define CSN 0 #define CLK 5 #define MOSI 1 #define MISO 4 #define IRQ 2 #define PORT P1OUT #define PDIR P1DIR #define PIN P1IN #define GLED 6 #define Key 3 //#define RLED 0 //此端口被占用 uchar i; uchar TX_ADDRESS[TX_ADR_WIDTH] = {0x34,0x43,0x10,0x10,0x01}; // Define a static TX address ; uchar RX_ADDRESS[RX_ADR_WIDTH] = {0x34,0x43,0x10,0x10,0x01}; // Define a static RX address ; //uchar TX_ADR_WIDTH,TX_P

文档评论(0)

1亿VIP精品文档

相关文档