Author |
Message |
Topic: One wire stops working when clock increased |
smanzer
Replies: 4
Views: 6621
|
Forum: General CCS C Discussion Posted: Sun Sep 26, 2010 4:49 am Subject: Found the solution |
Thank you for the replies everyone. I tinkered with the #delay and found no change - it works with 10MHz and fails at 40MHz.
I put some debug code in and found the problem was the ow_read_bit() fu ... |
Topic: One wire stops working when clock increased |
smanzer
Replies: 4
Views: 6621
|
Forum: General CCS C Discussion Posted: Thu Sep 23, 2010 6:56 pm Subject: One wire stops working when clock increased |
Good evening everyone, I have a problem that perhaps someone has seen before and can help.
I am using the one wire library found in this forum and it works great. I am using a PIC18F8722 at 10MH ... |
Topic: TCP/IP stack |
smanzer
Replies: 16
Views: 24965
|
Forum: General CCS C Discussion Posted: Mon Sep 20, 2010 10:42 am Subject: Dont waste your time |
I went down that route, then I bought an EzWebLynx from CCS and was on line in one night.
My 2 cents worth
Steven |
Topic: old code broken in new compiler version: PIC18F2550 CPUDIV1 |
smanzer
Replies: 2
Views: 4699
|
Forum: General CCS C Discussion Posted: Thu Sep 02, 2010 7:51 am Subject: Compiler Upgrades |
Hi Eric,
I have learned that the CCS upgrades do not appear to be properly tested by CCS. They fix one thing, that affects other things. It appears to me that they do not have a proper test proce ... |
Topic: Pointer to function problem |
smanzer
Replies: 2
Views: 3552
|
Forum: General CCS C Discussion Posted: Sun Jul 18, 2010 7:35 am Subject: Pointer to function problem |
Thanks PCM_Programmer, that should work! I have a variable that I use to turn on/off debugging info to the pc terminal. When I turned it off, the program size dropped so the offending functions were ... |
Topic: Pointer to function problem |
smanzer
Replies: 2
Views: 3552
|
Forum: General CCS C Discussion Posted: Sat Jul 17, 2010 6:21 am Subject: Pointer to function problem |
Good morning,
I have found an interesting challenge when trying to run functions when using a structure containing a function pointer. I have read everything I can about work arounds on this forum ... |
Topic: How do you find remaining free memory? |
smanzer
Replies: 5
Views: 8157
|
Forum: General CCS C Discussion Posted: Sun Jun 13, 2010 7:13 am Subject: How do you find remaining free memory? |
Hi Ttelmah,
You are right, malloc uses <stdlibm.h>
I must not know how malloc works. It was my understanding that malloc (from Wikipedia: In computing, malloc is a subroutine for performi ... |
Topic: How do you find remaining free memory? |
smanzer
Replies: 5
Views: 8157
|
Forum: General CCS C Discussion Posted: Fri Jun 11, 2010 8:52 am Subject: How do you find remaining free memory? |
Thank you Ttelmah,
Is there any way to find out during program execution how much ram is still available?
Steven |
Topic: How do you find remaining free memory? |
smanzer
Replies: 5
Views: 8157
|
Forum: General CCS C Discussion Posted: Fri Jun 11, 2010 8:19 am Subject: How do you find remaining free memory? |
Good Morning,
Can someone tell me how to find out how much free ram memory is left on the PIC?
I use a lot of dynamic linked lists and it would be nice to be able to find out how much is left ... |
Topic: X10 Newbie question |
smanzer
Replies: 11
Views: 11221
|
Forum: General CCS C Discussion Posted: Wed May 26, 2010 1:41 pm Subject: X10 Newbie question |
Hi Tesla80,
The schematic for the PSC05 and PSC04 can be found at:
http://www.x10pro.com/pro/pdf/technote.pdf
X10 for communication would be too slow for most systems. I know you can buy eth ... |
Topic: X10 Newbie question |
smanzer
Replies: 11
Views: 11221
|
Forum: General CCS C Discussion Posted: Mon May 24, 2010 7:51 pm Subject: X10 Newbie question |
Hi Tesla80,
I used a PSC05 two-way (transmit/receive) module I got of eBay for $10.
This unit has an RJ-11 phone connector on it. it uses a type of serial data that is NOT RS235, the voltages a ... |
Topic: X10 Newbie question |
smanzer
Replies: 11
Views: 11221
|
Forum: General CCS C Discussion Posted: Mon May 24, 2010 1:38 pm Subject: X10 Newbie question |
Topic closed.
I did some thinking about the fact that everyone found this easy.
I took the new X10 receptical, an put it in series with a new X10 switch.
Receptical is A1 switch is A2.
I t ... |
Topic: X10 Newbie question |
smanzer
Replies: 11
Views: 11221
|
Forum: General CCS C Discussion Posted: Mon May 24, 2010 1:08 pm Subject: X10 Newbie question |
Awesome, thank you Douglas, you have put the missing pieces into place!
I must have a problem somewhere, because I have tried what this and the light still will not go off
I have ordere ... |
Topic: X10 Newbie question |
smanzer
Replies: 11
Views: 11221
|
Forum: General CCS C Discussion Posted: Mon May 24, 2010 8:47 am Subject: X10 Newbie question |
Thanks Douglas!
Your explanation is helping.
Using the CCS test program, if I send A01 and it is on, will the light then go off?
Or do you A01 then A1C (Address house A unit 1, then tell it ... |
Topic: X10 Newbie question |
smanzer
Replies: 11
Views: 11221
|
Forum: General CCS C Discussion Posted: Mon May 24, 2010 7:18 am Subject: X10 Newbie question |
Thank you for your help PCM Programmer.
Your explanation as usual is very clear and helpful.
If I send A1 or A01 I see the data transmitted, but the light remains on.
If I send A20 which I re ... |
|