Hi, dave !

schau mal Bascom Help:

On INT0 Interrupt_PIN1

CONFIG INTx = state
Where X can be 0,1 and 4 to 7 in the MEGA chips.

Remarks

state LOW LEVEL to generate an interrupt while the pin is held low. Holding the pin low will generate an interrupt over and over again.

FALLING to generate an interrupt on the falling edge.
RISING to generate an interrupt on the rising edge..

alles da.

mfg robert


edit: gilt für rn-Bus 33/34
INT0 / INT1