Jump to content
43oh

TinkerJim

Members
  • Content Count

    5
  • Joined

  • Last visited

Reputation Activity

  1. Like
    TinkerJim reacted to chicken in Reference voltage for analogRead()   
    Energia does not directly support reading the internal reference. You might be able to convince it with analogRead(128+10); and some direct tweaking of ADC registers, but in the end it's probably easier to go directly to the metal. Here's a tutorial, it's even a solar cell use case like yours:
    http://www.elevendroids.com/2013/06/code-recipe-reading-msp430-power-supply-voltage-level/
     
    To figure out what all these code lines mean, get the MSP430x2xxx Family User Guide (slau144j) and study chapter 22 about the ADC10
    http://www.ti.com/lit/ug/slau144j/slau144j.pdf
×
×
  • Create New...