Hi All,
We're trying to write a library with multiple classes. Essentially, we want to declare different pin usage for different names. So, simply put, the code looks like:
#include "linebot.h"
linebot RSensor (10);
linebot LSensor (11);
void setup(){
}
void loop(){
}
This gives us an error during compiling. Tells me that RSensor is undeclared. Same with LSensor. I have included the .h and .cpp file in the ZIP attached. Can I do what I am trying to do ?
linebot.zip (700 Bytes)