7 years, 6 months ago.

About two project become to one

Thanks for watching my question~~

i have a question about two project become to one project just like this . /media/uploads/david8251/1234345.png There are two sensor GPS and DHT22 . and i want to use one project. The project can also have two sensor functions. i take an example below.

#include "mbed.h"
int main(){
GPS function...

DHT22 function..
}

Or maybe i need to use interrupt ?timer? will be better?

Thanks a lot

Be the first to answer this question.