loading
4 Comments

Tell us about yourself!

Complete Your Profile
  • TomO26 commented on Silvius's instructable Using Atmega32 with Arduino IDE8 months ago
    Using Atmega32 with Arduino IDE

    Thanks! That's worked perfectly! hopefully I won't need to ask any questions as I've got all my inputs and outputs working!

    Thanks again for your help.I've been coming across an other issue, digital pins 18 19 20 & 21 aren't working properly. I can't even get them to blink an LEDif i use the basic arduino example blink: it works correctly for the digital pins such as 15 16 17 22 & 23, but if I chance the pin in the program and on the breadboard, nothing happens. any ideas?////////////////////////////////////////////////const int LED = 18;// the setup function runs once when you press reset or power the boardvoid setup() { // initialize digital pin as an output. pinMode(LED, OUTPUT);}// the loop function runs over and over again forevervoid loop() { digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED, LOW); ...see more »Thanks again for your help.I've been coming across an other issue, digital pins 18 19 20 & 21 aren't working properly. I can't even get them to blink an LEDif i use the basic arduino example blink: it works correctly for the digital pins such as 15 16 17 22 & 23, but if I chance the pin in the program and on the breadboard, nothing happens. any ideas?////////////////////////////////////////////////const int LED = 18;// the setup function runs once when you press reset or power the boardvoid setup() { // initialize digital pin as an output. pinMode(LED, OUTPUT);}// the loop function runs over and over again forevervoid loop() { digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second}

    View Instructable »
  • TomO26 commented on Silvius's instructable Using Atmega32 with Arduino IDE8 months ago
    Using Atmega32 with Arduino IDE

    Hi Silvus, Thanks so much for getting back to me!For the particular application I managed to find a work-around:(used the same interrupt pin for 2 of the switches, and send the output of one of the switches to a different digital pin, so that during the interrupt, the digital pin can be read and the correct switch chosen)But next time if i need lots of interrupts I'll switch to a different chip! (my choice of the 32 was fairly arbitrary in this case as I'm new to micro controllers, all I knew was i needed more pins that the 328p)

    View Instructable »
  • TomO26 commented on Silvius's instructable Using Atmega32 with Arduino IDE8 months ago
    Using Atmega32 with Arduino IDE

    Hello,I'm having a problem with pin interrupts using this set-upI can get INT0 and INT0 to work correctly, enabling the internal pull-up resistors and then using: attachInterrupt(digitalPinToInterrupt(10), footOne, CHANGE); // Foot One - Pin 10 attachInterrupt(digitalPinToInterrupt(11), footTwo, CHANGE); // Foot Two - Pin 11but if i try the same for INT2:attachInterrupt(digitalPinToInterrupt(2), footThree, CHANGE); // Foot Three - Pin 02, I the interrupt never gets triggered, despite each pin being set up in the same way with the same debouncing circuit. Any ideas how to get INT2 to work correctly?thanks

    View Instructable »