Forum > Embedded - AVR

AVRPascal – free code editor for FPC for AVR

<< < (34/35) > >>

Curt Carpenter:
Is there an example of how to hand an interrupt using AVRPascal?

ackarwow:

--- Quote from: Curt Carpenter on January 25, 2026, 04:15:12 am ---Is there an example of how to hand an interrupt using AVRPascal?

--- End quote ---

Thank you, Curt - this is a good question. At the moment, the English AVRPascal documentation does not include a dedicated section on interrupts. I do not want to duplicate the AVR interrupt documentation already available on the excellent FPC wiki:

https://wiki.freepascal.org/AVR_Programming

For now, the FPC wiki remains the recommended reference.

Curt Carpenter:
Thank you very much ackarwow.  I'll try some experiments following the WIKI.

ackarwow:
Hello all,

I’ve finished the English translation of Lesson 3 of my course. The text focuses on handling a push button on the ATtiny13: digital inputs, internal pull-up resistors, detecting state changes, and dealing with contact bounce in software.
The PDF and the source code in ZIP format are attached.

ackarwow:
A new version of AVRPascal IDE (3.6) is now available.

This release introduces an Emulator mode in AVRPascalDbg, a debugging tool for the AVRPascal IDE. It allows programs to be run and analyzed without a physical microcontroller. When compiled for AVRSIM, output from write/writeln is displayed in the IDE Messages area.

Download:
https://akarwowski.pl/index.php?page=electronics&lang=en
https://avrpascal.org

Changes:
- updated ATA6285, ATTINY28, ATA6286, ATTINY416AUTO, ATTINY1624, ATTINY1626, ATTINY1627 characteristics
- added AVRSIM target
- enabled compilation in AVRSIM mode (missing RTL modules added)
- enabled write/writeln output in Messages during emulation (AVRPascalDbg, AVRSIM target)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version