Maixduino AI Digital read



  • I have maixduino kit which has K210. I write c++ using arduino lib on platform ide.
    When I write
    pinmode(7,input)
    DigitalRead ( led,7 )
    It reads led == HIGH on 7th input port without any voltage supplying . Why is it like this?