Author |
Message |
Topic: CCS & PIC16F946 |
ElectroNick
Replies: 1
Views: 4579
|
Forum: General CCS C Discussion Posted: Thu Feb 23, 2006 9:43 am Subject: CCS & PIC16F946 |
I have a large program code for PIC16F946. Until the code size reaches 25% of program memory everything is ok, but after this limit (Memory usage: ROM=25% RAM=17% - 18%) any more code lines I ... |
Topic: A/D resolution problem |
ElectroNick
Replies: 6
Views: 9724
|
Forum: General CCS C Discussion Posted: Tue Feb 14, 2006 3:27 am Subject: A/D resolution problem |
Hello,
I'm using PIC16F946 and trying to use ADC.
My problem is the ADC result is 8 bit instead of 10 bit.
unsigned int16 value = 0;
.
.
.
while (TRUE)
{
setup_adc ... |
Topic: I/O Problem |
ElectroNick
Replies: 5
Views: 8599
|
Forum: General CCS C Discussion Posted: Fri Feb 10, 2006 2:02 am Subject: test program |
This is my test program, but that doesn't work:
#include "16F946.h"
#fuses NOWDT, NOMCLR, PROTECT, INTRC_IO, NOBROWNOUT, NODEBUG, NOIESO, NOFCMEN, NOPUT
#use delay (clock=4000000 ... |
Topic: I/O Problem |
ElectroNick
Replies: 5
Views: 8599
|
Forum: General CCS C Discussion Posted: Thu Feb 09, 2006 9:23 am Subject: I/O Problem |
Hello,
I'm trying to use PIC16F946, when I define ports as input that's ok, it works. But when I define ports as output that goes high automatically, I try to clear and change it in software but no ... |
Topic: comparator |
ElectroNick
Replies: 2
Views: 4946
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2005 11:41 pm Subject: comparator |
Hi,
i want to use pic16f785's comparator module. VCC is 4.88V and I want comparator to control a led. But i can't success! The voltage on RA1 is about 4.7V but led is still passive. Could you pleas ... |
|