How test if Sketch usee WiFi and/or Bluetooth

rossati
Posts: 16
Joined: Mon May 11, 2020 7:06 am

How test if Sketch usee WiFi and/or Bluetooth

Postby rossati » Mon Jul 20, 2020 8:40 am

Hi
I am developing a module for power reduction and I would know if this module is included in Sketch dealing with WiFi.
For example I would write something like this:

Code: Select all

#ifdef WiFi
      esp_wifi_stop();
#endif
I think there is a convention in writing forms for introspection, but I don't know it.
Thanks for any suggestions

Who is online

Users browsing this forum: usmat32 and 64 guests