Author |
Message |
Topic: laptop ? |
wireless
Replies: 10
Views: 13547
|
Forum: General CCS C Discussion Posted: Fri Dec 23, 2011 6:05 pm Subject: laptop ? |
For a very simple Bluetooth serial solution go to EBay and search for "Bluetooth module backplane". The are a number of companies that supply standard Bluetooth serial modules mounted on a s ... |
Topic: Write file of data to PIC |
wireless
Replies: 4
Views: 7555
|
Forum: General CCS C Discussion Posted: Fri Dec 31, 2010 3:54 am Subject: Writing to PIC |
You need to study the PIC family data sheets, the 16F876 does not sound suitable for your application. You suggest writing your "data" to the program memory but this is not possible to write ... |
Topic: A question about 18f14k50 |
wireless
Replies: 10
Views: 10451
|
Forum: General CCS C Discussion Posted: Sat Dec 04, 2010 3:30 am Subject: A question about 18f14k50 |
Hi
I have not looked at your code in detail but you have set the OSCCON register to a huge decimal value.
OSCCON=01100111;
I think you intended it to be binary so you should have added a 'b' ... |
Topic: Over voltage protection |
wireless
Replies: 15
Views: 15906
|
Forum: General CCS C Discussion Posted: Thu Dec 02, 2010 4:34 am Subject: Off line hazards |
Hi
I have used many PICs with simple capacitive dropper type 240VAC offline supplies. However, unless you use an isolating transformer you CANNOT go near or connect any programmer, scope etc to the ... |
Topic: I2C read or write during an interrupt |
wireless
Replies: 3
Views: 5263
|
Forum: General CCS C Discussion Posted: Sat Jul 31, 2010 6:33 am Subject: I2C read or write during an interrupt |
Yes you can use I2C in an interrupt routine but be careful of reentrancy.
For example, if you were in an I2C routine in your main() program and an interrupt occured, also calling the same I2C routi ... |
Topic: 2 serial ports on PIC18F46J50 |
wireless
Replies: 1
Views: 4911
|
Forum: General CCS C Discussion Posted: Tue Jan 12, 2010 4:18 am Subject: Two UARTS |
When you specify UART1 or UART2 in the #use rs232 command, you don't need to, also, list the XMIT and RCV pin allocation. The compiler knows which pins you use for the two ports.
Not sure why you n ... |
Topic: nRF24L01 p Channels |
wireless
Replies: 1
Views: 4065
|
Forum: General CCS C Discussion Posted: Sat Dec 05, 2009 5:43 am Subject: nRF24L01 |
Hi
This question about the Nordic VLSI part is a little "off topic" as this is a CCS compiler forum.
The nRF24L01 is a excellent part but you must remember it has a major limitation in ... |
Topic: DC look up Table |
wireless
Replies: 6
Views: 5278
|
Forum: General CCS C Discussion Posted: Mon Aug 31, 2009 8:38 am Subject: DC look up Table |
Hi Attabros
Why do you need a look up table? Just read the ADC (assuming you are using a 3V reference) divide the value by 8 or right shift it 3 times and output it to the port.
Good luck
Ter ... |
Topic: Problem lighting seven segment LED type common cathode |
wireless
Replies: 2
Views: 5013
|
Forum: General CCS C Discussion Posted: Mon Aug 31, 2009 8:27 am Subject: Problem lighting seven segment LED type common cathode |
Hi Amit
When you say the "same hardware" I assume you are connecting the common cathode pin to ground(VSS)- it would have been high for the common anode display. Also, you must have current ... |
Topic: Using a Proxy Server with CCS TCP/IP stack |
wireless
Replies: 4
Views: 7060
|
Forum: General CCS C Discussion Posted: Sun Aug 30, 2009 8:34 am Subject: Proxy Server |
Thanks for your help, Andrew. Will try it out as soon as I have set up a test Proxy Server.
Sorry to mix you up with the other WA Andrew!
Managed to remember my username so now I now not quite s ... |
Topic: Help on DNS |
wireless
Replies: 3
Views: 3951
|
Forum: General CCS C Discussion Posted: Tue May 26, 2009 1:53 am Subject: Help on DNS |
Thanks Vijay and Andrew for your replies.
I am using DHCP, the CCS TCP/IP stack with CCS PCH C Compiler, Version 4.058 and a PIC18F67J60. The software is all working fine if I specify the IP addres ... |
Topic: Help on DNS |
wireless
Replies: 3
Views: 3951
|
Forum: General CCS C Discussion Posted: Mon May 25, 2009 2:35 pm Subject: Help on DNS |
Two simple questions about DNSResolve.
1. Where does the stack get the DNS server address from?
2. Do I need "http://www" in front of the host name I am trying to resolve.
Can anybo ... |
Topic: FTP client in a PIC |
wireless
Replies: 0
Views: 2393
|
Forum: General CCS C Discussion Posted: Thu Jun 26, 2008 7:10 am Subject: FTP client in a PIC |
Hi
I need to run an FTP client in a PIC, so that I can send small files to a server, the client will have to login to the server.
Does anybody have any suggestions for software and/or hardware in ... |
Topic: Fast Interrupt - output pulse with input |
wireless
Replies: 9
Views: 12290
|
Forum: General CCS C Discussion Posted: Thu Sep 15, 2005 3:39 pm Subject: Fast Interrupt |
Prayami
I think the delay you describe is due to the interrupt start-up code which saves a large number of variables.
If you are only using one interrupt source can I suggest you look at the #IN ... |
Topic: Using a comparator as an ADC |
wireless
Replies: 3
Views: 8078
|
Forum: General CCS C Discussion Posted: Sun Feb 27, 2005 7:54 am Subject: Using a comparator as an ADC |
Hi Arun
It depends how much resolution you need from the ADC. If 4bits (16) steps is OK you can use the internal Vref generator on the 16f628.
For measuring 5 V ( with a 5V supply) you will need ... |
|