Description Prints data to the transmit pin of the software serial port, followed by a carriage return and line feed. Works the same as the Serial.println() function. Parameters vary, see Serial.println() for details Returns byte println() will return the number of bytes written, though reading that number is optional Example See also - SoftwareSerial() - […]
Description Prints data to the transmit pin of the software serial port. Works the same as the Serial.print() function. Parameters vary, see Serial.print() for details Returns byte print() will return the number of bytes written, though reading that number is optional Example See also - SoftwareSerial() - begin() - print() - println() Libraries Reference Home […]
Description Return a character that was received on the RX pin of the software serial port. Note that only one SoftwareSerial instance can receive incoming data at a time (select which one with the listen() function). Parameters none Returns the character read, or -1 if none is available Example See also - SoftwareSerial() - begin() […]
Description Return a character that was received on the RX pin of the software serial port. Unlike read(), however, subsequent calls to this function will return the same character. Note that only one SoftwareSerial instance can receive incoming data at a time (select which one with the listen() function). Parameters none Returns the character read, […]
Description Tests to see if a software serial buffer overflow has occurred. Calling this function clears the overflow flag, meaning that subsequent calls will return false unless another byte of data has been received and discarded in the meantime. The software serial buffer can hold 64 bytes. Syntax mySerial.overflow() Parameters none Returns boolean Example See […]
Description Tests to see if requested software serial port is actively listening. Syntax mySerial.isListening() Parameters none Returns boolean Example See also - SoftwareSerial() - read() - print() - println() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. […]
Description Sets the speed (baud rate) for the serial communication. Supported baud rates are 300, 600, 1200, 2400, 4800, 9600, 14400, and 19200. Parameters speed: the baud rate (long) Returns none Example See also - SoftwareSerial() - read() - print() - println() Libraries Reference Home The text of the 86Duino reference is a modification of […]
Description Get the number of bytes (characters) available for reading from a software serial port. This is data that’s already arrived and stored in the serial receive buffer. Syntax mySerial.available() Parameters none Returns the number of bytes available to read Example See also - SoftwareSerial() - read() - print() - println() Libraries Reference Home The […]
Description A call to SoftwareSerial(rxPin, txPin) creates a new SoftwareSerial object, whose name you need to provide as in the example below. You need to call SoftwareSerial.begin() to enable communication. Parameters rxPin: the pin on which to receive serial data txPin: the pin on which to transmit serial data Example See also - SoftwareSerial.begin() - […]
Description Sets the frequency band the modem connects to. Check here for general GSM band information. Typical regional configurations are : -Europe, Africa, Middle East: E-GSM(900)+DCS(1800) -USA, Canada, South America: GSM(850)+PCS(1900) -Mexico: PCS(1900) -Brazil: GSM(850)+E-GSM(900)+DCS(1800)+PCS(1900) Syntax band.setBand(type) Parameters type : String identifying what frequency band the modem should connect to -GSM_MODE_UNDEFINED -GSM_MODE_EGSM -GSM_MODE_DCS -GSM_MODE_PCS -GSM_MODE_EGSM_DCS […]