kriswiner / CMWX1ZZABZ

Collection of sketches using the Arduino core for Murata's CMWX1ZZABZ (STM32L082 and SX1276)
93 stars 29 forks source link

issue with PB7 #29

Open sajalbhargava opened 3 years ago

sajalbhargava commented 3 years ago

Hi, i am trying to access the GPIO PB7 declaring the pin as - int led =D4; pinMode(D4,OUTPUT); while compiling the code in arduino ide it is giving me error "D4 out of scope" what am i doing wrong here?

kriswiner commented 3 years ago

try 4 not D4

On Wed, Oct 14, 2020 at 1:28 AM sajalbhargava notifications@github.com wrote:

Hi, i am trying to access the GPIO PB7 declaring the pin as - int led =D4; pinMode(D4,OUTPUT); while compiling the code in arduino ide it is giving me error "D4 out of scope" what am i doing wrong here?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/29, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKULUDKNL3F64267ULLSKVOKJANCNFSM4SQJDTVA .

sajalbhargava commented 3 years ago

thanks kris 👍