Go Down

Topic: Arduino + Modem GSM (Read 1 time) previous topic - next topic


Haaaaaaaaaaaa desculpem me, mas estou ficando louco....
o trem nao funciona..
Arduino ligado no modemGSM

//biblioteca para porta Serial
#include <SoftwareSerial.h>

#define rxPin 2                    //Define o pino 2 como RX
#define txPin 3                    //Define o pino 3 como TX

#define ledPin 13

//seta uma nova porta Serial
SoftwareSerial mySerial =  SoftwareSerial(rxPin, txPin);

int led = 13;

void setup()
 pinMode(rxPin, INPUT);        
 pinMode(txPin, OUTPUT);

 pinMode(led, OUTPUT);
 digitalWrite(led, LOW);
 mySerial.begin(9600);                    //Define a velocidade da porta Serial
 digitalWrite(led, HIGH);


void loop()


e Não manda a msg :/  

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131