Skip to content

Commit 641e825

Browse files
authored
Declare Rx, Tx, Reset and Led (PIN) in the sketch
User can declare rx pin, rx pin, reset pin and led pin in the sketch.
1 parent 723ba59 commit 641e825

File tree

13 files changed

+1178
-377
lines changed

13 files changed

+1178
-377
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
## Library SIM800l Module for Arduino UNO
1+
## Library Sim800L Module for Arduino UNO
22
The Purpose of This library is to use the module in the most easy way and transparent.
3-
Website: [Sim800L library](https://github.com/VittorioEsposito/Sim800l-revised)
3+
Website: [Sim800L library](https://github.com/VittorioEsposito/Sim800L-revised)
44

5+
Original version by: [Cristian Steib] (https://github.com/cristiansteib)
56

6-
Go to arduino IDE Sketch >> Import Library >> add library... Select the folder Sim800l-revised
7+
8+
Go to arduino IDE Sketch >> Import Library >> add library... Select the folder Sim800L-revised
79

810
OR
911

10-
Place the Sim800l library folder your arduinosketchfolder/libraries/ folder.
12+
Place the Sim800L library folder your ArduinoSketchFolder/libraries/ folder.
1113
You may need to create the libraries subfolder if its your first library. Restart the IDE.
1214

1315

14-
## connections & pinouts
15-
Arduino Uno | Sim800l | Notes
16+
## connections & pinouts (DEFAULT)
17+
Arduino Uno | Sim800L | Notes
1618
-------------|-------------|------------
1719
+5v| (3.8v)~(4.4v)!| Power supply input
1820
10 RX_PIN | TX |
@@ -26,8 +28,8 @@ GND | GND |
2628
Name|Return|Notes
2729
:-------|:-------:|:-----------------------------------------------:|
2830
begin()|None|Initialize the library
29-
begin(number)|None|Initialize the library
30-
reset()|None|Reset the module,and wait to Sms Ready.
31+
begin(number)|None|Initialize the library with user's baud rate
32+
reset()|None|Reset the module, and wait to Sms Ready.
3133
setSleepMode(bool)|true or false|enable or disable sleep mode
3234
getSleepMode()|true or false|return sleep mode status
3335
setFunctionalityMode(number)|true or false|set functionality mode
@@ -36,7 +38,7 @@ setPIN(String)|true or false|enable user to set a pin code
3638
getProductInfo()|String|return product identification information
3739
getOperatorsList()|String|return the list of operators
3840
getOperator()|String|return the currently selected operator
39-
sendSms(number,text)|true or false|parameters must be Strings.
41+
sendSms(number,text)|true or false|both parameters must be Strings.
4042
readSms(index)|String|index is the position of the sms in the prefered memory storage
4143
getNumberSms(index)|String|returns the number of the sms.
4244
delAllSms()|true or false|Delete all sms

0 commit comments

Comments
 (0)