Jump to content


  • Content Count

  • Joined

  • Last visited

About Stunts1337

  • Rank

Profile Information

  • Location
  1. Why? I could really use this right now. :/ You could still have the download available but not support it anymore if that's the reason why you took it down.
  2. #define GPIO 11 //random digital pin void setup() { pinMode(GPIO, OUTPUT); } void loop() { //get char from serial monitor //convert char into an array with 8 value (lets say, tranData[] - add to setup) for (int i = 0; i < 8; i++) { if (tranData[i] == 1) { digitalWrite(GPIO, HIGH); } else { digitalWrite(GPIO, LOW); } } } In this case, your array should look something like an 8-bit binary value. If the data bit in the i-th position of the array is a 1, GPIO pin will go high (3.3v), else it will go low (0v). Use the voltages from the IO pin
  3. Hi, I am trying to change the SPI clock phase for my project. I am wondering if it is possible in energia. Below is the corresponding data bits from the family guide that I have found: I am trying to change the clock phase (bit 7) from the default 0 to 1, because that is what is required for the slave device (an ADF4002). All I could find in energia were the following 3 functions to change other aspects of the SPI communication: SPI.setClockDivider(SPI_CLOCK_DIV2); SPI.setBitOrder(MSBFIRST); SPI.setDataMode(SPI_MODE0); On that note, does anyone know what the setDataMode fu
  4. @jeffchen622,Thanks for the helpful insight, luckily for me the grader for my project was understanding since he added the wifi aspect to our project at short notice. This project is now complete for me, but the problem still technically persists. I will likely come back to this in the future after the semester when I play around with my cc3200 when I have more free time.
  5. Hi everyone, I first want to say this isn't a huge priority, but if you have time to look over my code and point out any obvious errors I would appreciate it. The code is based off of the getWeather sketch provided by Energia, it searches a server api that I control for 4 integer values: 3 that are used to program a digital potentiometer and one that controls 3 different GPIO pins which ultimately controls some relays. The basic idea is the msp430 will test the circuit I select by turning on the correct relay, and the digital potentiometer allows for an user adjustable gain in the circuit
  6. Thank you that is good to know. I took a break to eat and relax for a bit, turns out I was very dumb in forgetting to assign the pinmode as output for the CS pin. Sometimes you just make those dumb mistakes that cost you lots of annoyance. Not in the clear quite yet, but I do have a program working which reads the data from the server, then disconnects from WiFi and enters a loop using the digital potentiometer, so it looks to be a promising start. Thanks again for the clarification.
  7. Could someone give me more information on why we cannot include SPI for the cc3200 (as it says at the beginning of every wifi sketch) #ifndef __CC3200R1M1RGC__ // Do not include SPI for CC3200 LaunchPad #include <SPI.h> #endif I would really like to send a http get request to a server host and program a digital potentiometer based on the values read from the server, but the digital potentiometer uses SPI for data transfer. As of right now I have taken the values from the server and filtered out the data to the few variables I need to use, and that loops every 10 seconds. At this poi
  8. Could this all be avoided if I got a cc3200LP?
  9. Hi I was wondering if there is support for the SPI(1) pins that are on the msp430f5529 pin mapping page. (http://energia.nu/Guide_MSP430F5529LaunchPad.html) I am currently using a msp430f5529 and a CC3000 boosterpack. I am trying to program a digital potentiometer while also using the cc3000 boosterpack, my code works off of the getweather code to get data from a server with the cc3000, once it has that data I want to program the digital potentiometer based on the value of that data. I have code working for both the reading data from the server, and also for programming the digital
  10. Hi guys, I am working on a project and am in need of a second WiFi booster pack for my MSP430f5529LP. I have been using energia code as a base for my project and it has been working great, but I recently decided I need a second MSP + BoosterPack. Anyways, the TI store doesn't seem to be offering the CC3000 booster pack right now so I am wondering how easy it is to make my cc3000 code compatible with the cc3100 or cc3200 BoosterPack. Does anyone have experience with this upgrade? Thanks for the information.
  • Create New...