Jump to content


  • Content Count

  • Joined

  • Last visited

About Roger

  • Rank
    Noob Class

Profile Information

  • Location
  • Interests
    Ham Radio, Building projects, Biking
  1. I need to convert a float value to a string to send it over an rf link. The below code works on my Arduino but not on my MPS430 2553. Is there a way to copy this function in to Energia? // convert the float value to a string to send out RF char pbuff[8]= " "; String spres = dtostrf (bpres,1,2,pbuff);
  2. When I use the libary the reponse back from my BMP085 is alway 12.8C and 1000hPa. Did I fry my sensor ?? /* ReadSensor - Basic example of using I2C-based template library for Bosch BMP085 digital pressure sensor. Created by Adrian Studer, April 2013. Distributed under MIT License, see license.txt for details. */ #include <Wire.h> // required by BMP085 library #include <BMP085_t.h> // import BMP085 template library BMP085<3> PSensor; // instantiate sensor, 3 = high precision pressure reading void setup() { Serial.begin(9600)
  3. You may want to add the code that blinks the leds along with your serial print that way you know you program is running.
  4. Roger

    i2c LCD

    Have you had any luck? I am a new to MPS430 and micro controllers in general. I am trying to get a YwRobot 16X2 to work with my launch pad. I get the same error mentioned in a earlier post "conflicting return type specified for 'virtual void LiquidCrystal_I2C::write(uint8_t)'" I understand this because the libary is for and older Arduino IDE. any help would be nice Thanks
  5. I was able to get the sensor to work but I had to edit the .cpp file where it pulled the data pin low for 20ms to start the data transfer. I changed it to 2 ms. I know that is not what the data sheet says but that is what worked. pinMode(_pin, OUTPUT); digitalWrite(_pin, LOW); delay(2);//changeg from 20ms
  6. I can not get the DHT22 libray to work with my devices(I have two of them). I am just learning C but I think it is a timing issue with my devices. This is what I get when I run test sketch from the libary. debug bits received 35 debug 42, 0, 1D, 5F, 4 =? BE debug checksum NO debug RH% 16896 debug oC 7519 Failed to read from DHT DHT22_430.cpp DHT22_430.h DHT22_430_main.ino
  7. Hello I am new to Energia but I have done a little in Arduino. I can not get the serail monitor to display anything. My sketch uploads and runs.(I know it is runing because part of code blinks the LED's) but nothing prints to the serail monitor. I am using 0101e0011 with a 430 launch pad with 2553 on a windows 8 box.( I hope I am posting this in the right place) void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(P1_6,OUTPUT);//green pinMode(P1_0,OUTPUT);//red } void loop() { digitalWrite(P1_6,HIGH); digitalWrite(P1_0,LOW); Serial.print("Start
  • Create New...