Go Down

Topic: Adafruit FONA SIM808  (Read 111 times) previous topic - next topic


okay so we are doing a project in STEM in school and I am using the Adafruit FONA SIM808 shield. I am fairly new to coding arduino, although i can put together simple pieces of code and understand simple code. I gave the example code below in the form of a .ino file.
This code is a little too much for me to understand and cut down to do what I want to do with it. I want to be able to push a button to call a number. Also I do not want to use the serial monitor at all. I just would like to be able to push a button and have it call a number without being connected to the computer. Any help would be greatly appreciated.


Code: [Select]
if you select 'c' in the menu, it executes the part of code that does where there is [codechar number[30];  // the char * holding the phonenr to call
]if (!fona.callPhone(number))  {   // call successful
else {      // call unsuccessful
some small modifications and remove nearly all the rest, create a part that listens for your button press, and maybe blink a led to indicate if the call was successful or not.
To 'Correct' you have to be Correct. (and not be condescending..)

Go Up