I can alter pin state with direct pin control but arduino digitalwrite cannot?
hey guys, built own version of sparkfun's pro micro 3.3v. it's leonardo 3.3v , 8 mhz. unlike stock leonardo, sparkfun's design not offer pinouts d11,12, , 13. decided wire these internally design run serial device software serial. using 3.3v sparkfun bootloader, when tried use these pins in arduino ide digitalwrite(), did not respond. then, tried set pins using direct pin control... , responded! problem is, i'm not sure issue here. pins_arduino.h problem (i've tried both normal leonardo , sparkfun pro micro ones)? sort of other weirdness? i'm not sure start here. have little experience lower level atmel programming. thanks!
probably pins-arduino.h.
check see if there entries ports in question.
there 3 arrays ports, bits, , timer status need added to.
also total count of digital pins, pcint mapping, possible adjustment analog pin mapping digital pins, etc.
check see if there entries ports in question.
there 3 arrays ports, bits, , timer status need added to.
also total count of digital pins, pcint mapping, possible adjustment analog pin mapping digital pins, etc.
Arduino Forum > Using Arduino > Microcontrollers > I can alter pin state with direct pin control but arduino digitalwrite cannot?
arduino
Comments
Post a Comment