Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

PCINT2;PCINTD don't seem to simulate correctly

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
RobDee

Bascom Member



Joined: 04 Feb 2007
Posts: 8

usa.gif
PostPosted: Thu Apr 09, 2015 5:55 pm    Post subject: PCINT2;PCINTD don't seem to simulate correctly Reply with quote

Windows 7, Bascom 2.0.7.7, ATTINY2313A

If I use:

Enable Interrupts
Enable Pcint0
Pcmsk = &H01
On Pcint0 Wake_up 'wake up from sleep

Do
......

Config Powermode = Powerdown

.........
loop

Wake_Up:
return

PCINTO interrupt button takes the program out of sleep

but if I use:

Enable Interrupts
Enable Pcint2
Pcmsk2 = &H40
On Pcint2 Wake_up 'wake up from sleep

I don't wake up from sleep in simulator

(BASCOM-AVR version : 2.0.7.7 , Latest : 2.0.7.8 )
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum