Coding interrupts using the std C structure.

I want to use two interrupts on a Pro mini. At the moment I'm more comfortable using isr's using discrete code instead of the Arduino macros. This would be similar to the code if using the Atmel Studio.

Is it possible within the Arduino IDE?

If so where would I start looking?

Thanks

John

The IDE is « just » for editing and compiling and uploading

You write the code almost* the way you want and thus can configure interrupts manually, declare ISR play with registers etc. You are not stuck with arduino helper libraries and functions. You can use the power of C++ and hit the bare metal hardware capabilities

There are tons of tutorials on line, here is one.

* ==> need setup() and loop()

need setup() and loop()

Even loop() and setup() are not actually required if you don't want to use them

UKHeliBob:
Even loop() and setup() are not actually required if you don't want to use them

OP was asking "Is it possible within the Arduino IDE?"

--> if you use the IDE and the compilation tool chain, don't you need those? (the main() being automagically added by the IDE and calling those functions)

One can override main().

cool - I had actually never tried!