Website URL

Location

Interests

Sparkfun

Github

This snippet does not give the expected results (and I know I should be checking the return code of sscanf()...), the string contains text like "60.0" when asked for a frequency.
float request = 50.0f;
sscanf(string, "%f", &request); // having trouble since energia version 1.6.10E18 with floats...
Under version energia_0101E0015, request becomes whatever float value is in the string (say 60.0), but under energia_1.6.10E18 request remains at the initialized value.
Same with this snippet:
sprintf(timecodeBuffer, "f# %04d ft %.03f %02d:%02d:%02d.%02d.%03d Squid_%c_[%02d:%02d:%02d.%02d] delta:%.03f \n",
frameNumber, frameTime, computeHours, computeMinutes, computeSeconds, computeFrames, computeMilliSecs & 0x0000ffff,
live, timecodeHours, timecodeMinutes, timecodeSeconds, timecodeFrames, timeDiff);
Under version energia_0101E0015 it prints everything fine, but under energia_1.6.10E18 the floats are printed as a blank space. Computing with float values is not a problem.
My include section looks like this:
#include <Ethernet.h>
#include <EthernetUdp.h>
#include "inc/hw_ints.h" // our TM4C1294NCPDT is in the SnowFlake interrupt class
#include "inc/hw_memmap.h"
#include "driverlib/pin_map.h"
#include "driverlib/sysctl.h"
#include "driverlib/pwm.h"
#include <string.h>
#include <stdio.h>
#include "Wire.h" // using the I2C bus for display
My setup:
Tiva-C connected EK-TM4C1294XL, 120 MHz tmc129
I tried upgrading to version 1.6.10E18. I really like the new board chooser and it downloaded the appropriate drivers and build tool chain. I think however the problem originated with the different tool chain. My OS is Kubuntu 18.04 LTS (with 32 bit libraries licb6:i386 for the lm4f tool chain to work under 64-bit ubuntu)

Hi,
I have a EK-TM4C1294XL evaluation kit and a BOOSTXL-EDUMKII board connected to it.
I cannot get the RGB_LED_RANDOM example to work.
The LED's work as if i change the analogWrite(ledRed, random(255)) to analogWrite(ledRed, 255) the LED comes on. Any value other than 255 results in the LED staying OFF.
I have jumper J5 in the top position (1-2) which i believe is correct.
What do i need to do, to get the PWM running?
thanks

Hello,
I am new to Launchpad, and interfacing CC2564MODNEM with EK-TM4C1294XL launchpad board.
I have searched but not found and document related to this interfacing.
I need :
1) Physical connection between CC2564MODNEM and EK-TM4C1294XL through Debug port.
2) Any example program to start with GATT or SPP Bluetooth stack protocol.
Waiting for some quick reply.
Thank in Advance

One of the new features of the beta EnergiaNG is that fact that it is now using the standard Arduino 1.6.x IDE. Unfortunately, it doesn't look like it is ready to work as a boards manager package with the standard Arduino IDE. Energia/TI likes their branding and it seems they want to keep TI boards and Arduino board from ever meeting in the same program.
At the same time, I noticed a few things that are missing and instead of trying to push those into Energia. I decided to fork the tivac-core and make the changes there. I also moved away from the proprietary dslite uploader in favor of using openocd. This gives you a better chance of running this code on any platform you might like. Did you know Arduino is now running on Raspberry PI boards? Anyways, you can find this new version here: https://github.com/RickKimball/tivac-core There is a list of things that I've changed in the README.md. This port also makes a couple of assumptions. It assumes you have both an arm-none-eabi-gcc toolchain in your path along with a recent version of openocd. If you are running linux you can just do:
$ sudo apt-get install arm-none-eabi-gcc arm-none-eabi-g++ openocd
Give this port a whirl and let me know how it works for you.
-rick

I try to make a TCP connection between EK-TM4C1294XL and Labview.
The microcontroller is the client, and in Labview there is a server.
I use Energia's standard functions (like client.connect())., and success to make connection with Hercules.
I also success to make connection between Hercules and Labview.
But I don't success to make the final connection - microcontroller to Labview.
there is a difference between the Energia's functions and the standard?

Hi,
I am trying to get i2c working on a EK-TM4C1294XL on energia. I am trying to user i2c channel 0. So they should be on pb2 and pb3. Thing is, I do not see any signal on sda or sck on the scope except for the pullup.
On the serial debug I see "Start" and "Loop" but "Loop2" never appears. As simpel as this program is, I am not getting it or something is wrong in the libraries.
Hope you can help,
cheers
John
#include <Wire.h>
void setup()
{
Wire.setModule(0);
Wire.begin(); // join i2c bus (address optional for master)
Wire.setModule(0);
Serial.begin(115200); // start serial communication at 9600bps
pinMode(PC_7, OUTPUT);
pinMode(PB_2, INPUT_PULLUP);
pinMode(PB_3, INPUT_PULLUP);
Serial.println("Start");
}
void loop()
{
Serial.println("Loop");
Wire.beginTransmission(112); // transmit to device #112 (0x70)
Wire.write(byte(0x00)); // sets register pointer to the command register (0x00)
Wire.write(byte(0x50)); // command sensor to measure in "inches" (0x50)
Wire.endTransmission(); // stop transmitting
Serial.println("Loop2");
digitalWrite(PC_7,HIGH); // turn the LED on (HIGH is the voltage level)
delay(250); // wait a bit since people have to read the output
digitalWrite(PC_7, LOW); // turn the LED off by making the voltage LOW
delay(250); // wait a bit since people have to read the output
}