Declaration of function cannot work in different board

But I would like to have LCD and IoT both in my project, how? :frowning: