Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Enviar datos con modulo Bluetooth para Arduino http://zygzax.com/
- #include <SoftwareSerial.h>
- SoftwareSerial blue(2, 3);
- int pot=0;
- void setup(){
- blue.begin(9600);
- blue.println("Conectado");
- }
- void loop(){
- pot=analogRead(0);
- blue.println(pot);
- delay(1000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement