Author |
Message |
Topic: I/O Problem with PIC16F690. |
chandra
Replies: 2
Views: 4914
|
Forum: General CCS C Discussion Posted: Wed Jan 04, 2012 3:34 pm Subject: I/O Problem with PIC16F690. |
I am using a rotary switch at A0,A1,A2.
And B4,b5,B6 are using for protection. |
Topic: I/O Problem with PIC16F690. |
chandra
Replies: 2
Views: 4914
|
Forum: General CCS C Discussion Posted: Wed Jan 04, 2012 3:14 pm Subject: I/O Problem with PIC16F690. |
Hi,
I tried this code...Only first step is working. Can you guide me.
It is for controlling a DC ordinary motor.
#include <16F690.h>
#fuses INTRC,NOWDT,NOPROTECT,MCLR
#use delay(clock ... |
Topic: PIC12F629 and I2C for MC44BS374T1AEF |
chandra
Replies: 1
Views: 4581
|
Forum: General CCS C Discussion Posted: Thu Aug 04, 2011 8:28 am Subject: PIC12F629 and I2C for MC44BS374T1AEF |
Hi,
This is the code:
#include <12F629.h>
#fuses XT,NOWDT,NOPROTECT,NOMCLR,PUT,NOBROWNOUT
#use delay(clock=4000000)
#use i2c(Master, sda=PIN_A0, scl=PIN_A1)
#define ... |
Topic: PIC24HJ UART2 TX problem |
chandra
Replies: 12
Views: 10592
|
Forum: General CCS C Discussion Posted: Wed Mar 31, 2010 11:30 am Subject: PIC24HJ UART2 TX problem |
#Fuses NOPUT
Now working fine.Thanks for all. |
Topic: PIC24HJ UART2 TX problem |
chandra
Replies: 12
Views: 10592
|
Forum: General CCS C Discussion Posted: Wed Mar 31, 2010 7:33 am Subject: PIC24HJ UART2 TX problem |
I put a pullup resistor 15k at TX and it is working fine. But I don't want this hardware change. How can I disable the power on reset timing?
Thanks for all. |
Topic: PIC24HJ UART2 TX problem |
chandra
Replies: 12
Views: 10592
|
Forum: General CCS C Discussion Posted: Wed Mar 31, 2010 2:57 am Subject: PIC24HJ UART2 TX problem |
U2STAbits.UTXEN = 1;
I need this.This is from c30 complier.How can we call this from CCs c.
UTEX bit to be 1 for TX pin idle state=0.
Anybodycan advice.
Thanks. |
Topic: PIC24HJ UART2 TX problem |
chandra
Replies: 12
Views: 10592
|
Forum: General CCS C Discussion Posted: Wed Mar 31, 2010 2:17 am Subject: PIC24HJ UART2 TX problem |
I tried #define PIN_F5=low also. But the result is same.When power on it,I am getting the HEX 00 for 100ms.Then only the character is displaying.Any sugessions.
Thanks. |
Topic: PIC24HJ UART2 TX problem |
chandra
Replies: 12
Views: 10592
|
Forum: General CCS C Discussion Posted: Tue Mar 30, 2010 7:30 am Subject: PIC24HJ UART2 TX problem |
I am using MAX3232 for level converter. |
Topic: PIC24HJ UART2 TX problem |
chandra
Replies: 12
Views: 10592
|
Forum: General CCS C Discussion Posted: Tue Mar 30, 2010 1:09 am Subject: PIC24HJ UART2 TX problem |
I am using pic24HJ128GP306 and send "HELLO" characters to PC rs232.
It is working but when I start power on, it send many 00000s and then the word HELLO comes. I want to remove the 0000s. T ... |
Topic: PIC24FJ16 Uart1 Problem |
chandra
Replies: 8
Views: 7995
|
Forum: General CCS C Discussion Posted: Wed Mar 24, 2010 12:43 am Subject: PIC24FJ16 Uart1 Problem |
#fuses PR, HS,PROTECT,NOWDT
Now ok.
Thanks for all. |
Topic: PIC24FJ16 Uart1 Problem |
chandra
Replies: 8
Views: 7995
|
Forum: General CCS C Discussion Posted: Mon Mar 22, 2010 2:02 am Subject: PIC24FJ16 Uart1 Problem |
I used these lines, but now I am getting scrambled letters. I am getting the hex value is:A8 39 CA 9D. It is likely a baudrate problem. |
Topic: PIC24FJ16 Uart1 Problem |
chandra
Replies: 8
Views: 7995
|
Forum: General CCS C Discussion Posted: Mon Mar 22, 2010 12:56 am Subject: PIC24FJ16 Uart1 Problem |
I am using PCD version 4.084.I need a example program for this chip.where can I find?
Thanks. |
Topic: PIC24FJ16 Uart1 Problem |
chandra
Replies: 8
Views: 7995
|
Forum: General CCS C Discussion Posted: Sun Mar 21, 2010 12:02 pm Subject: PIC24FJ16 Uart1 Problem |
I tried to send character "HELLO" To PC. I used PIC uart1. I am getting scrambled characters. I am getting this hex: (A8 A5 AC AC AF)
The code is:
#include <24FJ16GA002.h>
#fuses ... |
Topic: How to TX a Hex string |
chandra
Replies: 2
Views: 4149
|
Forum: General CCS C Discussion Posted: Sun Mar 21, 2010 11:36 am Subject: How to TX a Hex string |
Thanks. Working. |
Topic: How to TX a Hex string |
chandra
Replies: 2
Views: 4149
|
Forum: General CCS C Discussion Posted: Sun Mar 21, 2010 7:00 am Subject: How to TX a Hex string |
I am using printf("character") at uart tx. I need to send a Hexstring(0x57,0x60). How can it possible. Anybody can help? |
|