I have compiled a code for a project that I am doing which involves a pH Probe and a turbidity sensor. The code works for these sensors by saving the data onto an SD Card as well as by bluetooth to show the data live on a mobile phone.
I am trying to setup a SIM900 in order to transmit the data via a text message at certain intervals and I cannot get the code to work. I have managed to get the device to make a phone call but I cannot get it to send a text message. I used a code for the module by itself and I haven't added anything to my existing code with the sensors.
Please post your full sketch. If possible you should always post code directly in the forum thread as text using code tags (</> button on the toolbar). This will make it easy for anyone to look at it, which will increase the likelihood of you getting help. If the sketch is longer than the forum will allow then it's ok to add it as an attachment.
When your code requires a library that's not included with the Arduino IDE please always post a link(using the chain link icon on the toolbar to make it clickable) to where you downloaded that library from or if you installed it using Library Manger(Sketch > Include Library > Manage Libraries) then say so and state the full name of the library.