Error using SIM800 and SoftwareSerial


hello!
i have problem sim800 , softwareserial libraries.
when compile code give next error message:
code: [select]

in file included c:\program files (x86)\arduino\libraries\sim800\sim800.cpp:8:0:
c:\program files (x86)\arduino\libraries\sim800\sim800.h:30:3: error: 'uint8_t' not name type
   uint8_t year; /* year past 2000, e.g. 15 2015 */
   ^
c:\program files (x86)\arduino\libraries\sim800\sim800.h:31:3: error: 'uint8_t' not name type
   uint8_t month;
   ^
c:\program files (x86)\arduino\libraries\sim800\sim800.h:32:3: error: 'uint8_t' not name type
   uint8_t day;
   ^
c:\program files (x86)\arduino\libraries\sim800\sim800.h:33:3: error: 'uint8_t' not name type
   uint8_t hour;
   ^
c:\program files (x86)\arduino\libraries\sim800\sim800.h:34:3: error: 'uint8_t' not name type
   uint8_t minute;
   ^
c:\program files (x86)\arduino\libraries\sim800\sim800.h:35:3: error: 'uint8_t' not name type
   uint8_t second;
   ^
c:\program files (x86)\arduino\libraries\sim800\sim800.h:44:5: error: 'byte' not name type
     byte setup(const char* apn);
     ^
c:\program files (x86)\arduino\libraries\sim800\sim800.h:61:5: error: 'byte' not name type
     byte httpisconnected();
     ^
...


codes here: http://etelaniemi.com/codes.txt



how fix it?

quote
codes here: http://etelaniemi.com/codes.txt
that wrong place post code. post here. use reply, not quick reply field, , use additional options link attach code.

post link library using. see nothing in messages posted warrant conclusion there problem softwareserial. messages indicate sim800 library has problem.


Arduino Forum > Using Arduino > Programming Questions > Error using SIM800 and SoftwareSerial


arduino

Comments