boolean testFunc(); [SOLVED]


i want make function, returning boolean in libary.
but compiling test sketch error

d:\arduino\arduino-0022\libraries\mn_soladin/soladin.h:42: error: 'boolean' not name type

code: [select]

class soladin
{
 public:
   void begin(softwareserial *theserial);
   soladin();       // constructer    
   int query(uint8_t cmdo);
   int query(uint8_t cmdo,uint8_t _day);  // overload
boolean test();
//  variable devstate call
   uint16_t flag ;


this must simple, i'am stuck.  
thanks

'boolean' not native datatype, 'bool' is.
i have no idea why arduino introduced 'boolean'.


Arduino Forum > Using Arduino > Programming Questions > boolean testFunc(); [SOLVED]


arduino

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO