Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Simple battery tester Arduino code

$
0
0

Hi all,

I am new to MSP430 (and basically, topics on this forum) and I will probably ask some stupid questions, but I have to ask them anyway :D

I just got myself a Launchpad, and I want to run this project http://nostarch.s3.amazonaws.com/arduino_project6.pdf

using Energia.

 

My questions are:

1) If I copy the Arduino code, change the connected pins in the code from D2,D4 and D6 to 6,7 and 8 base on this reference (P1.4, P1.5, P2.0) http://energia.nu/img/LaunchPadMSP430G2553-V1.5.jpg and connect it, will it work?

2) Do I have to use 3 x 560 Ohm & 1 x 2,2k Ohm resistors, as shown od the Arduino schematics? ATM (writing these words) I have

only the board, I have to buy LEDs and resistors and a prototype board so I can't test anything yet.

3) I wanted to use the MSP430G22553 20-pin device. Is it ok?

 

I have the Rev.1.5 Launchpad. 


Viewing all articles
Browse latest Browse all 2077

Trending Articles