Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by s1ck

  1. Wow thank you very much, it's working now. I should have guessed that though
  2. Hi When trying to run following code, I can send the first integer "1" but if I continue after that, it just doesnt send anything back. However, with an Arduino UNO this code works 100%. How can I fix that? I hope somebody can try that for me, so I can confirm that it's the hardware/library and not the code. void setup() { Serial.begin(9600); } void loop() { if( Serial.available() > 0 ) { int inc = Serial.parseInt(); if(inc == 1) { int temp = analogRead(0); int pressure = analogRead(1); String t_str = String(temp); String p_str =
  3. Thank you very much. Somewhere in the msp430 manual I read, that you can read ADC channel 11 to get the reference voltage (or internal vcc, depends). Is that possible as well? I would try it, but I dont have a launchpad right now. kind regards, s1ck
  4. Hi! Just a few questions: What is the default reference voltage for the analogRead() function on a msp430 g2553 ? Is it the internal Vcc ? How can I read the exact reference voltage correctly? Is there an option to change the reference voltage? Thanks in advance! kind regards, s1ck
  • Create New...