Last seen: 2021-08-18 7:53 am
That's true, though I am wondering : why detach ? Anyway, here is the Holy Book of ATMega328 Interrupts !
Lol, you are a quicker typist than me ! Well, interrupts are not complex per se, but I think the associated restrictions are often overlooked, and bas...
@dundervetter As you can see here, interrupts are a hardware-triggered way of interrupting you program flow, to execute a VERY SHORT piece of code bef...
@dundervetter I'm glad it works ! Well, this means managing inputs that can happen at any time, as opposed to inputs that your sketch expects during s...
@azflyer Welcome, if you scroll down on the Forums main page, you'll find this, where you can click on the "Introduce Yourself" sub-folder. Then you ...
Sorry I had missed that post, your link has the whole explanation.
@dundervetter As Casey says : Try to run some test sketches starting from simple examples, each focuses on a specific point : pushbutton management on...
Ah ok. Have a look at the example in the pdf you posted : at some point you will read the IR receiver state (which will go LOW when the beam is obstru...
Sorry I don't get the meaning of your question ?
This is what happens when youput a digital pin in INPUT_PULLUP mode : it activates an internal resistor to +5V (a 20K I think). Every digital pin can ...
@dundervetter Ok, from page 5 : it seems you can wire them to the Arduino and each will use around 20mA. The most important is that the receiver has t...
I think it all depends on their specifications, so give us what you have about them (datasheet, manufacturer+part number, whatever...) and we can chec...
Check those links in my post above ?
@dundervetter First I think your button is wired in pull-down mode, while in your code you use it with INPUT_PULLUP. Pull-down : Pull-up (done intern...
Hello @dundervetter, I've been reading your posts above, including this nice picture, and first I'm wondering about the power supply aspect (I suppose...