I want to use the Mini thermal Receipt Printer with the new official GSM shield of Arduino.
I have a conflict with the two libraries : Gsm & ArdunioThermal
Just try to compile this :
Code: Select all
// include the GSM library
#include <GSM.h>
// PIN Number for the SIM
#define PINNUMBER "1234"
#include <SoftwareSerial.h>
#include "Adafruit_Thermal.h"
int printer_RX_Pin = 5; // This is the green wire
int printer_TX_Pin = 6; // This is the yellow wire
Adafruit_Thermal printer(printer_RX_Pin, printer_TX_Pin);
// initialize the library instances
GSM gsmAccess;
GSM_SMS sms;
GSM_SMS send_sms;
Code: Select all
SoftwareSerial\SoftwareSerial.cpp.o: In function `__vector_3':
C:\Users\Nicolas\Desktop\Arduino\libraries\SoftwareSerial/SoftwareSerial.cpp:302: multiple definition of `__vector_3'
GSM\GSM3SoftSerial.cpp.o:C:\Users\Nicolas\Desktop\Arduino\libraries\GSM/GSM3SoftSerial.cpp:511: first defined here
SoftwareSerial\SoftwareSerial.cpp.o: In function `__vector_4':
C:\Users\Nicolas\Desktop\Arduino\libraries\SoftwareSerial/SoftwareSerial.cpp:309: multiple definition of `__vector_4'
GSM\GSM3SoftSerial.cpp.o:C:\Users\Nicolas\Desktop\Arduino\libraries\GSM/GSM3SoftSerial.cpp:518: first defined here
SoftwareSerial\SoftwareSerial.cpp.o: In function `__vector_5':
C:\Users\Nicolas\Desktop\Arduino\libraries\SoftwareSerial/SoftwareSerial.cpp:316: multiple definition of `__vector_5'
GSM\GSM3SoftSerial.cpp.o:C:\Users\Nicolas\Desktop\Arduino\libraries\GSM/GSM3SoftSerial.cpp:525: first defined here
Thx in advance