Android & Arduino w/BT

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Android & Arduino w/BT

Postby saltydog » Mon Jan 30, 2012 6:20 am

Hello everyone,

Am fairly very to app develpment but i've managed to pair my app with my arduino hardware so my BT coding works. I have 4 buttons in my app already set-up and ready to go as well as text views for pwm value output in %. I have 3 questions I guess you could say.

1. How do I send a serial command from my buttons to the arduino? As of right now I have the following that needs to be filled with the command for it just not sure what is needed.

Code: Select all
// Normal
         LED_Timer.setOnClickListener(new View.OnClickListener() {
         @Override
         public void onClick(View v) {
            
         }
      });


2. My controller sends serial data to my laptop terminal at 1 minute intervals and i'd like to be able to display that serial data....How do I go about getting that info displayed.

3. I'd like to display the % value of the pwm output that is mapped in from my arduino coding how would I go about that?

Thanks for your input everyone.
saltydog
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Jan 30, 2012 5:54 am

Top

Return to General

Who is online

Users browsing this forum: No registered users and 4 guests