Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by nexusone1984

  1. First off thanks NatureTM for the help with the code and the others who gave input. Just a simple demo of reading a Analog signal and output some type of information. I have a CDS photocell connected to a port, and I display the light change on a bar graph display. Link below for video and code: https://sites.google.com/site/ericstrin ... nalog-port
  2. Thanks for the help... NatureTM, you code work great once I made a couple of corrects to my goofs..... pin 8 should have said bit8.. or ADC07 once I changed 8 to 7 that help that. And the math change also corrected that problem. Works like I wanted it to now.
  3. I trying to read from Pin 8 a analog voltage with vcc as reference. Setup the ADC 8 as I so far tried: ADC10CTL1 = INCH_8; ADC10CTL0 = ADC10SHT_2 + MSC + ADC10ON + ADC10IE; ADC10AE0 |= 0x80; // P1.7 ADC10 option select Read ADC 8: ADC10CTL0 |= ENC + ADC10SC; // Sampling and conversion start __bis_SR_register(CPUOFF + GIE); // LPM0 with interrupts enabled k = (ADC10MEM / 1024) * 8; Convert to 8 bit bar graph. 0 = no leds lit, 8 = all lit. Also is there a good programing reference manual.
  4. Just thought it would be cool... I have Blue, green and red also. Next would be to make have a trailing off effect, still thinking on the code to do that with a shift register.
  5. I just started playing with the 74HC595 8-Bit shift register, wrote a simple piece of code to test out the writing to it. Code produces a back forth LED flasher. Video: Code page: https://sites.google.com/site/ericstrin ... led-effect
  6. I like to share with you, my current msp430 launchpad demo. This demo show how to use the CD4511 BCD-to-7 Segment Latch/Decoder/Driver. Video of my project: My webpage of the project: https://sites.google.com/site/ericstrin ... ed-display
  • Create New...