abecedarian

Members
  • Content count

    1,711
  • Joined

  • Last visited

  • Days Won

    23

abecedarian last won the day on October 16 2016

abecedarian had the most liked content!

About abecedarian

  • Rank
    Level 5
  • Birthday 07/02/70

Profile Information

  • Gender
    Male
  • Location
    Lake Elsinore / Temecula, California, USA

Recent Profile Visitors

447 profile views
  1. Knowing which MSP430 you have and what joystick you have could help. Some are just an arrangement of switches that close when you move the stick left/right or up/down. Others may be analog.
  2. @@spirilis - Better late than never though. I suspect that TI is doing something that lets people take advantage of the hardware, albeit in a less than most efficient manner, and the most efficient will be available at some cost. I.e. they will "unlock" all the resources your MCU has, but you get that with generic tooling, but if you want the optimum it will cost extra.
  3. Also, for the Nov 21 2016 release: Known Issues/Limitations No validation on mac OS Sierra for this release
  4. Looks to either be pulled or has a server error now. *edit- must've been a server issue as it's showing now, Nov. 24- my most recent check.
  5. A little off topic for the forum you posted in, no? ?Anyhow, as far as running more than one program at a time, I suppose that would depend on what you define a program as. MSP430 can execute several tasks, simultaneously, if they are programmed accordingly.
  6. G2553 has two hardware serial, no? So why use software serial if the hardware supports it?
  7. There is also ultrasonic sensing as an option.
  8. That circuit is an emulation of a V.21 modem and its RX and TX would connect to a telephone line and UART on a PC or similar. The MSP430 has no intrinsic ability to "hear" audio. What it does have are analog to digital converters. So what you'd need to do is connect the output from the PI to an ADC on the MSP, sample the ADC and apply some filtering such as a Fast Fourier Transform, so you can convert the audio signal to a digital one based on the frequencies of the audio. That is essentially what a modem does, on the demodulation side, which is what you're trying to accomplish since you said "unidirectional". You didn't mention what the MSP430 is going to do with the data, but if it's to offload data to a computer, that would need worked out separately.
  9. One thing to consider is which MSP430 and its available RAM for buffering and processing.
  10. I'm scratching my head over this too, but am not grasping the intent.
  11. I might be wrong but all those INPUT_PULLDOWN might consume some power, so consider only enabling the pins you are using, which here would be P1_0 and P1_3. After defining P1_0 as OUTPUT, you should give it a known state, like "digitalWrite(P1_0, LOW);". Also, you might consider moving LPM4 to the end of setup() and leave loop() empty, or insert "while(1) {};" after calling LPM4.
  12. With that, you could make a new patio. They are about 8 times more fun to drive than they look.
  13. ... that might be fun.
  14. // stuff here like global variables and constants const int analogInputPin = 28; // PE2 on the chip, A1 in Energia, Pin 28 on the headers // defined here to make it easier to re-assign the pin if // needed later int a = 0; void setup() { // more stuff here } void loop() { // do things a = analogRead(analogInputPin); // do other things }
  15. A timer is a counter. It counts up or down based on its frequency and how it is configured. It might "roll over" or "overflow" if it exceeds its bit depth. You can configure the counter to reset when some event happens or do something when its value exceeds some other value. So, what it seems like is you want to wait for something to happen, then start counting and do something else if that first something is still happening and the counter has counted past 200. I think the answer is in your question. Maybe search for button debounce techniques.