Jump to content
43oh

Nikromante

Members
  • Content Count

    3
  • Joined

  • Last visited

About Nikromante

  • Rank
    Noob Class

Contact Methods

  • Website URL
    https://www.facebook.com/De.Naxxramas

Profile Information

  • Gender
    Not Telling
  • Location
    Orgrimmar
  • Interests
    Electronic Engineering, music, games, books, and stuf
  1. Hello everyone, I have a problem with Energia and my MSP430F5529, this micro is enable to use 12bits ADC, but I can't find the way to make it enable that configuration because Energia runs my code in default 10bits ADC, some one can tell me how can I configure the ADC to use 12 bits resolution??, this is my code: #include <Servo.h> Servo servo; int potpin = 23; int volt, i; void setup() { servo.attach(19); } void loop() { volt=analogRead(potpin); i=volt/6; //I'ms using 6, because 1023/6 = aprox ? 180 steps
  2. thank U I just found the problem, was because i was working to late that day and I didn't saw that i was choice another msp, sorry
  3. Hi, people, I'm new on this energia stuff, and I have some trouble withe the knob mode Example for servo, I just open the default example on energia for test my servo with my MSP430, but after the failed compiling I got some errors, like overflow in the code, this is the example code: // Controlling a servo position using a potentiometer (variable resistor) // by Michal Rinott http://people.interaction-ivrea.it/m.rinott #include Servo myservo; // create servo object to control a servo int potpin = 0; // analog pin used to connect the potentiometer int val; // variable to read the value fr
×
×
  • Create New...