Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Android & Arduino w/BT

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 2 guests