Jump to content
43oh

lester

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by lester

  1. Hello, I'm trying to connect the VL6180X sensor with the MSP-EXP430G2ET using I2C and Energia but it doesn't work. I'm using the Adafruit library for arduino. I have tested the code with arduino and it works perfectly. Does somebody knows why it could be? Thank you #include <Wire.h> #include "Adafruit_VL6180X.h" Adafruit_VL6180X vl = Adafruit_VL6180X(); void setup() { Serial.begin(9600); // wait for serial port to open on native usb devices while (!Serial) { delay(1); } Serial.println("Adafruit VL6180x test!"); if (! vl.begin()) { Serial.println("Faile
×
×
  • Create New...