Author |
Message |
Topic: reading resistor |
micro
Replies: 1
Views: 3644
|
Forum: General CCS C Discussion Posted: Tue Jul 10, 2007 5:11 am Subject: reading resistor |
Hi boys,
as I can read the value of a resistance with a A/D pic?
You have a simple hardware scheme?
thanks |
Topic: Pwm 16 bit |
micro
Replies: 1
Views: 3745
|
Forum: General CCS C Discussion Posted: Sat May 19, 2007 6:40 am Subject: Pwm 16 bit |
Hi
As I can obtain a PWM with a 16 bit resolution?
(Pic 18f)
Thanks |
Topic: EM4095 Driver Problem!! |
micro
Replies: 2
Views: 6041
|
Forum: General CCS C Discussion Posted: Sat May 07, 2005 6:17 pm Subject: EM4095 Driver Problem!! |
Hello There,
I am trying to use em4095 chip with CCS picc compiler driver. I am using 18f2320 and 10MHz xtal in H4 mode. But I dont understand a few points in driver.
Firtstly, in CCP1 interru ... |
Topic: rs232 stream parity bit problem in 18f8720 |
micro
Replies: 2
Views: 6842
|
Forum: General CCS C Discussion Posted: Wed Feb 09, 2005 1:02 am Subject: I tried this |
When I wrote this code snipped, I tried it using a PC sw that observes the PC's COM port. The PIC programmed with this code sends the string I want and my PC sw is set 9600,odd parity,8 bit data 1 st ... |
Topic: rs232 stream parity bit problem in 18f8720 |
micro
Replies: 2
Views: 6842
|
Forum: General CCS C Discussion Posted: Mon Feb 07, 2005 8:29 am Subject: rs232 stream parity bit problem in 18f8720 |
I wrote a simple code snipped for 18f8720 like below. Although I mentioned "Odd Parity" in built in definition , output data has not odd parity. How do I send data with odd parity ?
#use rs232 (bau ... |
Topic: Pointer in functions problem... |
micro
Replies: 12
Views: 17435
|
Forum: General CCS C Discussion Posted: Wed Oct 06, 2004 3:04 am Subject: Pointer in functions problem... |
Hi!,
I have some problems with using pointer in functions.
I have written a simple code snipped that use pointers but it does not work.
#include <18f458.h>
#include <string.h>
... |
Topic: 18f452 #INT_TBE Problem |
micro
Replies: 1
Views: 6629
|
Forum: General CCS C Discussion Posted: Fri Oct 01, 2004 1:11 am Subject: 18f452 #INT_TBE Problem |
I wrote a simple code snipped like in the below. I want to use TBE interrupt but some problem. When I wrote the code in below, interrupt routine works (porta turn completely high level) but "putc('A') ... |
Topic: in 18f8720 How do I use 2 hardware UARTs at same time...!!!! |
micro
Replies: 1
Views: 6040
|
Forum: General CCS C Discussion Posted: Wed Sep 29, 2004 12:23 am Subject: in 18f8720 How do I use 2 hardware UARTs at same time...!!!! |
I want to use 2 hardware UARTS of 18f8720 at same time..But how do I configure two UARTs.. And I must use receieve interrupts individually. How do I construct this structure. For example one function ... |
Topic: 18f452 clock problem |
micro
Replies: 7
Views: 17903
|
Forum: General CCS C Discussion Posted: Fri Feb 20, 2004 9:29 am Subject: 18f452 clock problem |
I am using 40 MHZ external XTAL without PLL. May it a problem? What is the max value for external XTAL using without PLL. ? |
Topic: 18f452 clock problem |
micro
Replies: 7
Views: 17903
|
Forum: General CCS C Discussion Posted: Fri Feb 20, 2004 8:36 am Subject: 18f452 clock problem |
I use the code snipped below but it gives error (undefined identifier!)..I think the problem is diffrent.
setup_spi(spi_master |spi_l_to_h |spi_clk_div_1);
Clock division could be minimum spi ... |
Topic: 18f452 clock problem |
micro
Replies: 7
Views: 17903
|
Forum: General CCS C Discussion Posted: Fri Feb 20, 2004 8:14 am Subject: 18f452 clock problem |
I am using PIC18F452 with 40MHz externat XTAL osc. I wrote a code that has spi port configurations and application. But when I listen to SCLK pin, I see approx 3MHz clock frequency..This is the first ... |
Topic: PIN_A4 DIRECTION PROBLEM!! |
micro
Replies: 5
Views: 15828
|
Forum: General CCS C Discussion Posted: Fri Jan 02, 2004 5:32 am Subject: Still doesn't work!! |
Thank you Jos.. I tryed to what you say but negative..But It still doesn't work..
I am using 16f877A...
I pulled up PIN_A4 to +5V with serially 3.3K resistor and a LED...I know that PIN_A4 is an o ... |
Topic: PIN_A4 DIRECTION PROBLEM!! |
micro
Replies: 5
Views: 15828
|
Forum: General CCS C Discussion Posted: Fri Jan 02, 2004 4:03 am Subject: PIN_A4 DIRECTION PROBLEM!! |
I am trying to use PIN_A4 pin as I/O..For testing, I connected a LED serially via 3.3k PULLUP ressistor to PIN_A4.. And I written this simple code snipped..
while(1){
output_low(PIN_A4);
delay_ ... |
|