Author |
Message |
Topic: anybody can check my program |
sonic05
Replies: 0
Views: 2770
|
Forum: General CCS C Discussion Posted: Sat Oct 02, 2010 8:18 am Subject: anybody can check my program |
please help me...
#include <16F877A.h>
#fuses XT,NOWDT,PUT,NOBROWNOUT,NOLVP
#use delay(clock = 4000000)
#byte PORTA=0X05
#byte PORTC=0x07
#byte PORTB=0X06
#define A0 PIN_A ... |
Topic: clock with timer |
sonic05
Replies: 2
Views: 3750
|
Forum: General CCS C Discussion Posted: Wed Sep 29, 2010 8:45 pm Subject: clock with timer |
Anybody can teach me how to combine this two program or I mean to have another rtcc then when I push the designated switch the program of timer will run.
Anybody can give me an idea or to give some ... |
Topic: traffic light with clock |
sonic05
Replies: 0
Views: 2572
|
Forum: General CCS C Discussion Posted: Mon Sep 27, 2010 4:31 am Subject: traffic light with clock |
Please..anybody can help me to combine this two programs.
Our plan is to build a trafficlight with clock that will run using 1 ic(16f877a).
and this is the program of clock:
#include <16F8 ... |
Topic: 12:00 minutes and seconds... |
sonic05
Replies: 2
Views: 3803
|
Forum: General CCS C Discussion Posted: Sun Sep 19, 2010 7:40 am Subject: ^^ |
void main()
{
int32 m,count=0;
while(TRUE)
{
for (m=0;m<=0.01;m++)
display_number(count);
count=(count==86400)? 0:count+1;
output ... |
Topic: 12:00 minutes and seconds... |
sonic05
Replies: 2
Views: 3803
|
Forum: General CCS C Discussion Posted: Sun Sep 19, 2010 2:17 am Subject: 12:00 minutes and seconds... |
anybody can help me to fix this program,..
#include<16f877.h>
#fuses XT,NOLVP,NOWDT,PUT
#use delay (clock=1M)
#byte port_d=8
#byte port_a=5
#byte port_c=8
byte CONST LED_MAP[10]={0x3F ... |
|