Jump to content
43oh

bakey

Members
  • Content Count

    10
  • Joined

  • Last visited

About bakey

  • Rank
    Member

Recent Profile Visitors

761 profile views
  1. Hi, short: on what pin do I insert 5V on the CC3200 launchXL, Can i do this on any pin that says 5V or can I only insert 5V through the USB? long: I would like to power my CC3200 launchpad from a 5V power supply on a "booster pack" (BP). Currently I've been powering the device either through USB laptop, or through a 5V adapter to USB (cellphone charger) Now I want to use a 12 V power supply to power a "booster pack". The BP would contain a DC-DC converter (http://www.icstation.com/mini-step-down-module-buck-converter-fixed-output-buck-power-supply-module
  2. I tested it on another computer, and it worked. Then I reinstalled the CC3200 lib for my energia on my work computer, and it works... So something was wrong in my old SPI lib...
  3. In my project I use SPI, in the sample I'm not using it. Just the include is enough to make the String conversion fail.. I'm guessing it has something to do with MSB an LSB, but things like that go over my head..
  4. It's a cc3200. I just use blink example, and add the include and serial code. So I don't think it's a memory limitation...
  5. Hi, I have a project in which I submit data through a custom message protocol. So like message <321;1;5;10.2> is a thing. To do that I use things like String s = "<310;" + String(DeviceID) + String(";") + String(ToestelID)+ String(";") + String(currentUsrID)+ String(";1;") + String(CurrentPowerUsg) + String(";") + String(Temp1) + String(";") + String(Temp2) + String(";") + String(lichtSterkte) + String(">"); But the conversion of double to string fails. this code double ding = 10.15; Serial.print("double print"); Serial.println(ding); Serial
  6. I did a google search, not a forum search. Will do next time. Tx
  7. Hi, I'm pretty new to CC3200 (and TI platform overall), but I can't get my head around a analogRead problem I'm having. The analogRead works for voltages between 0 and +-1.6V (0 equals 0 on read, and 1.6 equals 4095) I was expecting this to be 0=0 and 3.3=4095. I've tested the same slider potentiometer on a TM4C129, and it works as expected. Do I have to set some reference value to get the ADC working correctly on the CC3200?
  8. 8 hours of searching for a solution with no progress, Finnaly I give up and post on this forum for help And 2 hours later I'm in the shower and think "it's a timing problem!" So I added a delay after the first 0 and it works... Serial1.begin(115200,(UART_CONFIG_PAR_NONE | UART_CONFIG_STOP_TWO |UART_CONFIG_WLEN_8)); Serial1.write((uint8_t)0); delay(1); // now back to DMX speed: 250000baud Serial1.begin(250000,(UART_CONFIG_PAR_NONE | UART_CONFIG_STOP_TWO | UART_CONFIG_WLEN_8)); Weird how the 123GXL doesn't need the delay...
  9. I'm trying to make a WiFi DMX webserver/transmitter. I have following code working on my TM4C123GXL. /* */ // most launchpads have a red LED #define LED RED_LED #include "inc/hw_uart.h" #include <stdint.h> #include "driverlib\uart.h" //see pins_energia.h for more LED definitions #define DMX_MAX 128 // max. number of DMX data packages. const int buttonPin = PUSH2; int buttonState; // the current reading from the input pin int lastButtonState = LOW; // the previous reading from the input pin const int ledPin = GREEN_LED; uint8_t DMXBuffer[DMX_MAX]; // the set
  10. Got the lib working on my tm4c 1294 launchpad. Tx for the library.
×
×
  • Create New...