Jump to content


  • Content Count

  • Joined

  • Last visited

About lpestanasMSP430

  • Rank
    Noob Class

Contact Methods

  • Website URL

Profile Information

  • Location
  • Interests
    Embedded Systems
  1. This solution works also for removing the compilation error. Thanks..
  2. Hi Fmilburn, I saw a thread and I think it is the problem of all Math Functions. They changed something and it works. I want to have an idea how it worked. Thanks and Good Day, Leo
  3. Hi everyone, I am using a Black Launchpad and this does not work in the latest version of Energia which is 1.6.10E18. So I switched back to the version 0101E0017 to make use of the Black Launchpad. My code is below and tried in Arduino IDE and working fine: float a = 3.5; float b = 2.0; float result = 0.00; void setup() { // put your setup code here, to run once: Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: result = max(a,b); Serial.println(result); delay(1000); } Using the same code
  4. Hi, I'm trying to read a BH-1750FVI light sensor using the "i2c.h" of Energia. I'm planning to select the I2C channels instead of using an i2c Multiplexer to reduce the design. I'm using the code below but cannot get the results working. #include <Wire.h> #include "eusci.h" #include "i2c.h" int x; float z; int addr = 0x23; const eUSCI_I2C_MasterConfig i2cConfig = { EUSCI_B_I2C_CLOCKSOURCE_SMCLK, // SMCLK Clock Source 3000000, // SMCLK = 3MHz EUSCI_B_I2C_SET_DATA_
  5. Hi Everyone, I'm currently working with a MSP432 launchpad driving a HMI display using modbus RTU protocol via RS232. The problem I encountered the past few days: the built in DC to DC converter of the XDS110 gets burning hot from time that it is powered on. Unusual hangups also encountered. I used a MAX232 on P3.2 and P3.3 on these pins to convert the UART to RS232 level. The problem is I'm not getting the same echoed message expected. But the amazing thing, I have (2) subroutine that consist of reading the bit switch on the HMI panel and one is displaying the floating point number. If I
  • Create New...