Jump to content
43oh

ninisnanas

Members
  • Content Count

    4
  • Joined

  • Last visited

About ninisnanas

  • Rank
    Noob Class
  • Birthday January 10

Profile Information

  • Gender
    Female
  • Location
    Indonesia
  • Interests
    coding, msp430
  1. Hi, I have a CC2530 by Anaren. I have successfully loaded the demo program on my MSP430G2553 from IAR Workbench. Is there any way to convert the code to Energia? I have to move the environment to Energia since the main program is already written in Energia. I have tried to convert the main code in Energia to IAR, but no luck. I have been searching the forums, too. There only exists demo code for CC110L. By the way, if you think that converting from Energia to IAR is way much easier than the other way round, here is my Energia code (this includes 8x8 LED Booster Pack by Olimex): #inclu
  2. @@chicken I commented the code on line 22 and now it works! Thank you very much
  3. @@chicken thank you for your answer! I have tried it. Unfortunately, after I uploaded the code, it still won't light up. This is my code: #define LATCH 6 #define CLOCK 7 #define DATA 14 #define DELAYTIME 10 #define PUSH_BUTTON 5 int buttonState = 0; unsigned char image[8] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; void clearScreen() { for (int i = 0; i < 8; i++) { image[i] = 0x00; } } void sendData(unsigned short data) { for (unsigned short i = 0; i < 16; i++) { Serial.println(data, HEX); digitalWrite(DATA, data & ((unsigned short)1 <
  4. Hi, I am a newbie. I'm currently doing my final project for college. I use MSP430G2553 and 8x8 LED BoosterPack by Olimex. I have been learning the example code in Energia (the one that produces sine wave and scrolling text) but I haven't figure out how to send data to the booster pack. I only succeed to control the buzzer via push button. I have read the manual & schematic for the booster pack. I figured that I need to use three ports to control the LED; CLOCK, LATCH, and DATA ports. However, I couldn't understand the code part that sends data to the LED. I have been trying to light u
×
×
  • Create New...