:)))) guys u r kidding right ? This is easy as hell ,,, just use the % operator ,, and handle up to 31 led together I guess this is the number of I/O pins in 16f877a :D
Por que subir un video donde no se ve nada acorde al titulo?, no hay una explicacion escrita ni siquiera. Hace falta seriedad a la hora de subir un video, sobre todo de esta indole. 13 segundos de mi vida desperdiciados.
TRISB=0x00; PORTB=0x00; int i, step=0; void main (void) { while(1) { if(step==0) { for(i=0;i<5;i++) { portb=0b00100001; delay_ms(1000); portb=0b00100000; delay_ms(1000); if(i==4) { step=1; } } } copy the if block and change the step value to 1 and portc value ;
:)))) guys u r kidding right ? This is easy as hell ,,, just use the % operator ,, and handle up to 31 led together I guess this is the number of I/O pins in 16f877a :D
MiShO10O0O 7 months ago
Por que subir un video donde no se ve nada acorde al titulo?, no hay una explicacion escrita ni siquiera. Hace falta seriedad a la hora de subir un video, sobre todo de esta indole. 13 segundos de mi vida desperdiciados.
Otro NO ME GUSTA para ti.
avpc79 10 months ago
This has been flagged as spam show
razvantiesto 1 year ago
Maybe in a few years you will even be able to handle three leds, keep up the good work
Diosrobin 1 year ago 4
@Diosrobin you made my day :)))))))))))))
poweredBYGDK 1 year ago
Comment removed
McGuywer 2 years ago
I think s/he used an interrupt to command a simple scheduler with 2 processes each toggling 1 led each and then waiting for the timer.
Z80Fan 2 years ago
give more details, code, schematics, please
DarkseidS 2 years ago
is it working with interrupt sequences?
robotwo 2 years ago
Pretty cool, I have a PIC16F877 too. Did you code it in asm or C?
zowki 3 years ago
what scheme and program for the pic
pewojda 3 years ago
Comment removed
pewojda 3 years ago
RTOS?
rwboghdady 3 years ago
looks like timers working independently!!!
carlosmangini 3 years ago
flashing two LED independly? Did you use assembly language or C++? thanks
NaagLugYaajUaSi 3 years ago
Very nice implementation.
scozturk 4 years ago