Atmega 324, INT2 auf Rising / steigend, wie geht das?
Hallo, brauch am Atmega 324 den INT2 als steigend, ich bekomm es nicht hin, egal was ich versuch, er geht nur fallend.
Config Int2 = Rising
Enable Int2
Enable Interrupts
On Int2 blabla
so hab ich es erlesen, es geht nicht !
Danke für jeden Ratschlag
Re: Atmega 324, INT2 auf Rising / steigend, wie geht das?
Zitat:
Zitat von kollimann
Hallo, brauch am Atmega 324 den INT2 als steigend, ich bekomm es nicht hin, egal was ich versuch, er geht nur fallend.
Config Int2 = Rising
Enable Int2
Enable Interrupts
On Int2 blabla
so hab ich es erlesen, es geht nicht !
Danke für jeden Ratschlag
Bascom Hilfe Config.....
'we use the int0 interrupt to detect that our slave is addressed
On Int0 Isr_sspi Nosave
'we enable the int0 interrupt
Enable Int0
'we configure the INT0 interrupt to trigger when a falling edge is detected
Config Int0 = Falling
'finally we enabled interrupts
Enable Interrupts
Möglich das bei Dir nur die Reihenfolge der Befehle nicht passt?
Gruß Richard