Mel,
I've used your example but still can't make the LED go high
The LCD displays 21 as the value for AlarmH1Code:AlarmH1=(RTCHour>>4) AlarmH1=(AlarmH1&$03)*10 AlarmH1=AlarmH1+(RTCHour&$0F) alarmhour = 21 LCDOut ":",#(RTCMin>>4)&$0F,#RTCMin&$0F,":" LCDOut #(RTCSec>>4)&$0F,#RTCSec&$0F," " LCDOut $FE, $D4,"value = ", # AlarmH1 if AlarmH1 = alarmhour then PORTD.7=1 endif
what am I doing wrong ???





Bookmarks