Output Blink port For CSS Compiler




 
#include <16F877.h>
#device adc=8
#FUSES NOWDT ,XT                                        
#use delay(clock=4000000)
void main()
{
set_tris_b(0x00); 
setup_adc_ports(NO_ANALOGS);
setup_adc(ADC_OFF);
output_b(0x00);
while(true){
output_b(0xff);
delay_ms(500);
output_b(0x00);
delay_ms(500);    
}
}




READ  External interrupt For CSS Compiler

Leave a Comment

*
= 5 + 2

Read previous post:
UP DOWN counter with memory
UP/DOWN counter with memory

This is a simple digital counter with a serial rs-232 and a 7 segment display, i started this project to...

Close
Scroll to top