Hello fellow geeks,i started a little project with Mit App Inventor i want to use a current sensor Module(attached to analog pin A0) with my arduino to display on the android app,now i want to add another value which is power(current X voltage=power) so for that i used this piece of code for the arduino:
#include <SoftwareSerial.h>
//Input
int in = A0;
void setup() {
Serial.begin(9600); //baud rate
pinMode(in, INPUT); //Mode
}
void loop() {
float val1 = analogRead(in);
float val2 = val / 205; // the second value i want to recieve on the app
Serial.print(val1)
Serial.print(val2);
delay(400);//Small delay between each data send
}
how can i make the mit app inventor display two values of the same sensor(the current sensor in my case) thank you so much in advance