Hi everyone!
I'm new here and I'm pretty new with MSP430 as well. I have been working on a project that measure vibration using accelerometer (ADXL362) and send the information by RF using nRF24L01.
I had successful doing this using ADLX345, but I could not do it with ADXL362. The nRF2401 it's working well. Anybody can help me?
Follow the code:
#include <Enrf24.h>
#include <nRF24L01.h>
#include <string.h>
#include <SPI.h>
Enrf24 radio(P2_0, P2_1, P2_2); // P2.0=CE, P2.1=CSN, P2.2=IRQ
const uint8_t txaddr[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0x01