Jump to content
43oh

kiMedia

Members
  • Content Count

    4
  • Joined

  • Last visited

About kiMedia

  • Rank
    Noob Class

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, I have obtained a PWM code online written in C. What is the equivalent code if it is written in Energia - .ino file using Energia IDE libraries? Here is the code: #include <msp430g2553.h> void setup() { WDTCTL = WDTPW + WDTHOLD; // Stop WDT if (CALBC1_1MHZ==0xFF) // If calibration constant erased { while(1); // do not load, trap CPU!! } DCOCTL = 0; // Select lowest DCOx and MODx settings BCSCTL1 = CALBC1_1MHZ; // Set range DCOCTL = CALDCO_1MHZ;
  2. I would like to measure the voltage of a NiMH DC battery not exceeding 12V and I just knew that msp430g2553's ADC has an internal voltage divider. Is it appropriate to use the internal voltage divider directly without any external circuit?
  3. Thanks for the reply. Seems I got the idea, however, what type of connection can I use either RS-232 jack connector or JTAG port?
  4. I'm new to MSP430 MCU and I had this MSP430FG439. How can I upload firmware code to the MSP430FG439 MCU using Energia IDE? Can you cite some references or tutorials that I could look through?
×
×
  • Create New...