Jump to content
43oh

AlanW

Members
  • Content Count

    2
  • Joined

  • Last visited

About AlanW

  • Rank
    Noob Class

Profile Information

  • Location
    NE

Recent Profile Visitors

333 profile views
  1. @@wnorcott @@spirilis I'm using the example code Enrf24_RXdemo, I need some pins for I2C as well. So I have to move to UCA0. I have some problems. I copied the SPI library to a new folder and let program includes it, it works fine. I changed all "UCB0" in usci_spi.cpp to "UCA0", and change pinMode_int(SCK, SPISCK_SET_MODE); pinMode_int(MOSI, SPIMOSI_SET_MODE); pinMode_int(MISO, SPIMISO_SET_MODE); to pinMode_int(6, SPISCK_SET_MODE); pinMode_int(4, SPIMOSI_SET_MODE); pinMode_int(3, SPIMISO_SET_MODE); it works fine for the first time but when I re-upload it to the board, it's not wo
×
×
  • Create New...