Author |
Message |
Topic: DS18b20 PIC16F84A and 4x7-segment LED problem |
woser
Replies: 12
Views: 14464
|
Forum: General CCS C Discussion Posted: Fri Feb 25, 2011 3:25 pm Subject: DS18b20 PIC16F84A and 4x7-segment LED problem |
I don't know why when I change DIV_256 to another DS18b20 doesn't work ?? |
Topic: DS18b20 PIC16F84A and 4x7-segment LED problem |
woser
Replies: 12
Views: 14464
|
Forum: General CCS C Discussion Posted: Fri Feb 25, 2011 12:45 pm Subject: DS18b20 PIC16F84A and 4x7-segment LED problem |
The principle is very simple, the main loop reads DS18B20 and enter the number of different global variables, and the timer global variables are displayed. The problem is only when the timer according ... |
Topic: DS18b20 PIC16F84A and 4x7-segment LED problem |
woser
Replies: 12
Views: 14464
|
Forum: General CCS C Discussion Posted: Fri Feb 25, 2011 9:21 am Subject: DS18b20 PIC16F84A and 4x7-segment LED problem |
#include <16f84a.h>
#USE DELAY( CLOCK=4000000 ) /* Using a 4 Mhz clock */
#FUSES XT,NOWDT,NOPROTECT,NOPUT
/* Use XT mode, No Watch Dog, No Code Protect, No Power-up Timer */
... |
Topic: DS18b20 PIC16F84A and 4x7-segment LED problem |
woser
Replies: 12
Views: 14464
|
Forum: General CCS C Discussion Posted: Fri Feb 25, 2011 7:54 am Subject: DS18b20 PIC16F84A and 4x7-segment LED problem |
#INT_RTCC
TIMER_INTERRUPT ( )
{
if(minus!=1) {show_xy(3,11);}
delay_us(2640);
if(hundred!=0) {show_xy(2,tens);}
del ... |
Topic: DS18b20 PIC16F84A and 4x7-segment LED problem |
woser
Replies: 12
Views: 14464
|
Forum: General CCS C Discussion Posted: Fri Feb 25, 2011 1:53 am Subject: DS18b20 PIC16F84A and 4x7-segment LED problem |
Ok ds18b20 now is working but I have problem again with multiplexing, can anybody help how to set ok delays between segments in the timer ?
#include <16f84a.h>
#USE DELAY( CLOCK=400000 ... |
Topic: DS18b20 PIC16F84A and 4x7-segment LED problem |
woser
Replies: 12
Views: 14464
|
Forum: General CCS C Discussion Posted: Thu Feb 24, 2011 10:55 am Subject: DS18b20 PIC16F84A and 4x7-segment LED problem |
I found probably a bug in comparison with the original software on the 5V line RA4 in my program that is not: (. How does it solve? |
Topic: DS18b20 PIC16F84A and 4x7-segment LED problem |
woser
Replies: 12
Views: 14464
|
Forum: General CCS C Discussion Posted: Thu Feb 24, 2011 8:58 am Subject: DS18b20 PIC16F84A and 4x7-segment LED problem |
Yes it's real project and it's works with old software but the software has a bug so I decide to write my own and the display work fine but I can't retrive information from ds probably it is a ... |
Topic: DS18b20 PIC16F84A and 4x7-segment LED problem |
woser
Replies: 12
Views: 14464
|
Forum: General CCS C Discussion Posted: Thu Feb 24, 2011 7:45 am Subject: DS18b20 PIC16F84A and 4x7-segment LED problem |
Hello, trying to write a program to the old thermometer. And I have no idea to get it to work. The display is working properly now only has a problem with the DS18B20 is connected to the port of A4. B ... |
|