Jump to content
43oh

hary

Members
  • Content Count

    8
  • Joined

  • Last visited

  1. users guides ? You mean datasheet ? Or is there a more general information about MSP I should read. I'm new to MSP, and to uC. sorry for so many questions. By the way, Lauchpad's users seem to be more evolved than Arduino's users. If I'm right, what's the point for LP's users to use Energia instead of CCS ? Well, at least, for me, it's very helpful.
  2. I've got the information that Atmel reset all PORT to 0 on a reset. On the other hand, TI on the MSP430 doesn't. What are these different LPM3.5 and LPM4.5 modes means ? I've never heard about that ?
  3. Hi Doing my first step with my LP I can't get the instruction : bitSet(P1OUT,P1_0); working. It should be equivalent to "digitalWrite (P1_0, 1);" but the previous instruction don't light up the led ! Do I do something wrong ? The same happen with "P1OUT |= (1<<P1_0)". I can't get the led on !
  4. retained state ! I'll try to remember this. But I'm from Arduino, and I've checked on it. It doesn't behave this way. No retained state on Arduino ! Is it because of different uC or is it because Arduino IDE does something hidden in background
  5. Hi. Lauchpad seems to keep some older code in memory and still execute it after new upload done ! L1 and L2 are LEDs When I upload this code : #define L1 P1_0 #define L2 P1_6 void setup() { pinMode(L1, OUTPUT); pinMode(L2, OUTPUT); digitalWrite(L1, HIGH); } void loop() { digitalWrite(L1, HIGH); digitalWrite(L2, HIGH); } I got L1 and L2 lighted on, wicth is fine. Next, when I upload this code : #define L1 P1_0 #define L2 P1_6 void setup() { pinMode(L1, OUTPUT); pinMode(L2, OUTPUT); digitalWrite(L1, HIGH); } void lo
  6. HI. As I said, I'm from Arduino and I'm new to Launchpad. I'm struggling on how to know wich pin are PWM on my Launchpad MSP430G2553 or 2552. Of course, using timers, they must be all PWM enable, but I'm too new to be able to program a PWM function. I'd like to use an analogWrite on P2-5 or P2-4 or P1-4 or P1-3. Is that possible or are they not able to Arduino/Energia analoWrite ? I like the Launchpad because its pin are numbered the same as the uC itself, so I feel closer to the chip. But I'm used to Arduino board, and the different way naming the pin makes me lost somet
×
×
  • Create New...