I'm new to Arduino but I'm attempting to use it for a project which involves the Arduino sending text messages using a GSM shield.
I'm also using a library called TimeAlarm to ensure that the texts get sent at particular times.
When I was using the original library with the examples they gave me it all worked fine. However, now I have added more alarms and created my own messages, it doesn't seem to be working.
I also originally had some memory issues due to the sizes of the 'strings' I was using but managed to solve this by converting to Flash memory. I also thought perhaps my messages were too long so I changed the length of the original message and this hasn't helped.
Can anyone help me? Is it that I have too many alarms?
Thankyou.
I have also uploaded my sketch so should make more sense.
rebekahtaylor20:
Can anyone help me? Is it that I have too many alarms?
Yes.
There is a way to increase the permitted number of alarms. I forget what it is, exactly; try digging around in the source code for the TimeAlarms library and see if you can find it.
I don't suppose anyone knows if there's any way to enable the text messages to be longer?
No and yes! The message is limited to a certain length. However, the text can be split over several messages and reassembled on receipt. If you dig around in the protocols you will find the method used, it eludes me at the moment. But in essence the text content of each message is slight shorter to allow for the inclusion of 'next message' data.
Hi all. Thanks for this. So I think I've managed to change the TimeAlarm library using Text Edit. I've now saved the document, will it automatically apply the changes to my sketch or do I need to install it again? Thanks