Jump to content

Mangesh

Members
  • Content Count

    2
  • Joined

  • Last visited

About Mangesh

  • Rank
    Noob Class

Profile Information

  • Location
    Bengluru
  • Interests
    Firmware development

Recent Profile Visitors

321 profile views
  1. Hi All , I am using cc3200 launchpad and energia as IDE in my application . I wrote some code in that around 16 gpio of cc3200 so some of gpio are toggling automatically can anyone suggest me what modification I need to do ?
  2. I am using energia msp430 and gsm900a module. I want to send and receive sms & send sms from msp430 to and gsm900a to any mobile number is working fine but at time of receiving sms in serial monitor of energia is not showing any responses from to incoming msg . I am attaching my code also #include<msp430.h> void setup() { Serial.begin(9600); // Setting the baud rate of GSM Module // Serial.begin(4800); // Setting the baud rate of Serial Monitor (Arduino) delay(1000); } void loop() { if (Serial.available()>0) switch(Serial.read()) { case 's': sendsms(); break; case 'r': RecieveMessage(); break; } if (Serial.available()>0) Serial.write(Serial.read()); } void sendsms() { Serial.println("AT\r"); delay(1000); Serial.println("AT+CMGF = 1\r"); delay(1000); //Serial.println(" AT+CMGS =\"XXXXXXXXXX\"\r"); delay(1000); Serial.println("HELLO WORLD"); delay(1000); Serial.println((char)26); delay(100); } void RecieveMessage() { Serial.println("AT+CMGF = 1\r"); delay(1000); Serial.println("AT+CNMI=2,3,0,0,0\r"); // AT Command to receive a live SMS delay(1000); }
×
×
  • Create New...