Author |
Message |
Topic: Using strcmp function and transmitting string between 2 pics |
bright
Replies: 3
Views: 5802
|
Forum: General CCS C Discussion Posted: Wed Nov 02, 2011 8:57 pm Subject: Using strcmp function and transmitting string between 2 pics |
I tried that and it is still not displaying anything on the LCD display. |
Topic: Using strcmp function and transmitting string between 2 pics |
bright
Replies: 3
Views: 5802
|
Forum: General CCS C Discussion Posted: Wed Nov 02, 2011 7:49 pm Subject: Using strcmp function and transmitting string between 2 pics |
Guys, I have been trying to send a string from 1 pic16f722 to another and then display it on the 16x2 LCD. Can you please help guys. I have included the codes I have used in the transmitting pic and o ... |
Topic: pic16f722 UART |
bright
Replies: 3
Views: 6889
|
Forum: General CCS C Discussion Posted: Tue Oct 18, 2011 9:56 am Subject: pic16f722 UART |
Yeap it is working properly, I have tested it using the pic16f690 microcontroller and the Yeses were displayed on my pc screen. |
Topic: pic16f722 UART |
bright
Replies: 3
Views: 6889
|
Forum: General CCS C Discussion Posted: Tue Oct 18, 2011 6:14 am Subject: pic16f722 UART |
Can anyone tell me what is wrong with this code, it compiles but does not do what I want it to do. I want it to transmit YES to my PC screen every second.
#include<16f722.h>
#use delay ( ... |
Topic: Someone who is familiar with nrf905 |
bright
Replies: 0
Views: 3163
|
Forum: General CCS C Discussion Posted: Tue May 10, 2011 11:21 am Subject: Someone who is familiar with nrf905 |
I need help with project I am doing, I am using nRF905 and a pic16f690 microcontroller. I can transmit and my receiver can detect carrier but now the problem is with the address match pin which does n ... |
Topic: Communicating two pic microcontrollers using UART |
bright
Replies: 2
Views: 4704
|
Forum: General CCS C Discussion Posted: Wed May 04, 2011 2:44 pm Subject: Communicating two pic microcontrollers using UART |
I am trying to communicate two pic16f690 microcontrollers using UART. I have given my test code for both the receiver and transmitter. For testing purposes in the receive side I connected LEDs to all ... |
Topic: SPI slave response |
bright
Replies: 13
Views: 22582
|
Forum: General CCS C Discussion Posted: Wed May 04, 2011 2:32 pm Subject: SPI slave response |
Ok thank you PCM programmer, you have been a great help. |
Topic: SPI slave response |
bright
Replies: 13
Views: 22582
|
Forum: General CCS C Discussion Posted: Wed May 04, 2011 7:17 am Subject: 1 more question |
I am sorry for being a nuisance but can I ask you 1 more question. If want to change few lines from the assembly code that you have given for spi_write function, how can I achieve that with the versio ... |
Topic: SPI slave response |
bright
Replies: 13
Views: 22582
|
Forum: General CCS C Discussion Posted: Tue May 03, 2011 2:14 pm Subject: SPI slave response |
This is the code I have written to test my spi if it works:
#include <16F690.H>
#use delay (clock=8000000)
#define SPI_MODE_0 (SPI_L_TO_H | SPI_XMIT_L_TO_H)
#define ... |
Topic: SPI slave response |
bright
Replies: 13
Views: 22582
|
Forum: General CCS C Discussion Posted: Tue May 03, 2011 1:44 pm Subject: this is not a reply merely just a question |
PCM programmer I have seen the ccs program and also the assembly programs that you have posted, I have just 1 question from your assembly program for spi_write function, the last two lines don't they ... |
Topic: problem with the SPI_write() |
bright
Replies: 2
Views: 6860
|
Forum: General CCS C Discussion Posted: Tue May 03, 2011 5:10 am Subject: problem with the SPI_write() |
I am using spi to interface my nRF905 with the PIC16f690 microcontoller, I am using MPLAB SIM to see what is happening inside my code. Now my problem is that when I reach the line: spi_write(0xFF); it ... |
Topic: problem with an error |
bright
Replies: 3
Views: 5241
|
Forum: General CCS C Discussion Posted: Fri Apr 29, 2011 5:40 am Subject: problem with an error |
Thank you all for your replies, I have solved the problem. I had a similar line in my header file and that is what was causing the problem. |
Topic: problem with an error |
bright
Replies: 3
Views: 5241
|
Forum: General CCS C Discussion Posted: Thu Apr 28, 2011 12:44 pm Subject: problem with an error |
When I compile my code, it keeps on having 1 error and the error message is the following: *** Error 100 "nRF905&PIC16F690.c" Line 5(5,55): USE parameter value is out of range Not a nu ... |
Topic: problem with the setup_spi() function |
bright
Replies: 1
Views: 7881
|
Forum: General CCS C Discussion Posted: Sun Apr 24, 2011 11:12 am Subject: problem with the setup_spi() function |
I understand that if you want to use spi in ccs, you have to first setup the spi by this line of code : setup_spi( SPI_MASTER | SPI_H_TO_L | SPI_CLK_DIV_16), now I understand the SPI_MASTER parameter, ... |
|