Selecting external antenna on gpy



  • Can someone tell me how to select the external wifi antenna on the gpy pls?

    from machine import Pin; from network import WLAN; WLAN.INT_ANT; WLAN.EXT_ANT
    0
    1

    Pin('P12', mode=Pin.OUT)(True); WLAN.INT_ANT; WLAN.EXT_ANT
    0
    1
    according to the docs P12 is supposed to change the antenna status


 

Pycom on Twitter