Author |
Message |
Topic: Sleep_ulpwu() |
hansknec
Replies: 13
Views: 13503
|
Forum: General CCS C Discussion Posted: Wed Jan 21, 2009 8:39 am Subject: Sleep_ulpwu() |
I wish I could help, but I never did get the new "sleep_ulpwu()" function to work on my chip. I used the manual coding that I showed earlier in this thread and it works fine. Perhaps CCS h ... |
Topic: Need help with Pyxos |
hansknec
Replies: 0
Views: 2194
|
Forum: General CCS C Discussion Posted: Wed Dec 03, 2008 4:03 pm Subject: Need help with Pyxos |
It seems the forum moderator thought I was spamming, but I really do have a Pyxos EVK kit that is just sitting in my garage. Certainly someone here can put it to good use. My offer still stands. Yo ... |
Topic: PYXOS |
hansknec
Replies: 0
Views: 2362
|
Forum: General CCS C Discussion Posted: Wed Dec 03, 2008 3:16 pm Subject: PYXOS |
I have an offer.
I was lucky enough to be selected as a beta tester for the Pyxos networking chips. I received their Pyxos FT EVK evaluation kit ($350) and helped them debug their tech manual, et ... |
Topic: using uart1 without tx |
hansknec
Replies: 2
Views: 5524
|
Forum: General CCS C Discussion Posted: Tue Jun 17, 2008 6:56 am Subject: using uart1 without tx |
Thanks Ttelmah,
That's a relief since I already had 50 boards made using the TX pin to drive a fet.
I know it was probably posted before, but I seem to have difficulties getting the search engin ... |
Topic: using uart1 without tx |
hansknec
Replies: 2
Views: 5524
|
Forum: General CCS C Discussion Posted: Mon Jun 16, 2008 8:52 pm Subject: using uart1 without tx |
PIC18F1320.
PCWHD version 4.071.
I am using the hardware uart for serial receive, but I am not doing any transmitting. I use an interrupt (INT_RDA) to capture the incoming serial, so I have to st ... |
Topic: Sleep_ulpwu() |
hansknec
Replies: 13
Views: 13503
|
Forum: General CCS C Discussion Posted: Thu May 01, 2008 1:25 pm Subject: Sleep_ulpwu() |
Wow! That's quite a few bugs! Thanks! We will report it to CCS. I guess I'll stick to my manual coding for now. I was hoping the new compiler would work for me because I was running into difficu ... |
Topic: Sleep_ulpwu() |
hansknec
Replies: 13
Views: 13503
|
Forum: General CCS C Discussion Posted: Wed Apr 30, 2008 8:02 pm Subject: sleep_ulpwu problems. |
I have a problem with the new sleep_ulpwu command.
Compiler version=PCWHD 4.071
I wrote the following code before getting an upgraded compiler that had the sleep_ulpwu command:
#include <12F ... |
Topic: Sleep_ulpwu() |
hansknec
Replies: 13
Views: 13503
|
Forum: General CCS C Discussion Posted: Wed Jan 02, 2008 12:39 pm Subject: Sleep_ulpwu() |
So now I can see that:
sleep_ulpwu(10);
is exactly the same as:
output_high(PIN_A1);
delay_us(10); // charge cap for 10us
code to make A1 an input, enable the ULPWU bit, and enable the int ... |
Topic: Sleep_ulpwu() |
hansknec
Replies: 13
Views: 13503
|
Forum: General CCS C Discussion Posted: Wed Jan 02, 2008 12:24 pm Subject: Sleep_ulpwu() |
Thanks all.
I didn't know I could access the latest manual, and that .LST file will be great for double checking my register assignments.
I'll give it another shot with this new info. |
Topic: Sleep_ulpwu() |
hansknec
Replies: 13
Views: 13503
|
Forum: General CCS C Discussion Posted: Wed Jan 02, 2008 10:48 am Subject: Sleep_ulpwu() |
Can someone provide me with some insight as to what the Sleep_ulpwu() does differently than sleep()?
I ask this because my complier version is 3.249 and doesn't have the function. I spent several ... |
Topic: hand wave motion detector |
hansknec
Replies: 11
Views: 11484
|
Forum: General CCS C Discussion Posted: Fri Dec 21, 2007 9:20 pm Subject: hand wave motion detector |
Additional research for those interested in low power consumption.
There have been many posts from people asking how to make a PIC wake up from sleep. Most answers usually involve the use of a wat ... |
Topic: hand wave motion detector |
hansknec
Replies: 11
Views: 11484
|
Forum: General CCS C Discussion Posted: Thu Dec 20, 2007 9:43 am Subject: hand wave motion detector |
Way overkill. I'm sure there is a $0.50 part out there somewhere.
I remember seeing an article about pulsing an IR led at 40kHz and then measuring time to reflection using a common IR detector tha ... |
Topic: hand wave motion detector |
hansknec
Replies: 11
Views: 11484
|
Forum: General CCS C Discussion Posted: Thu Dec 20, 2007 9:11 am Subject: hand wave motion detector |
Does anyone here know what the latest technology is for hand motion detectors? Need ultra-low current consumption for battery powered unit. Similar to the automatic paper towel dispensers showing up ... |
Topic: Sub microsecond timing |
hansknec
Replies: 8
Views: 10314
|
Forum: General CCS C Discussion Posted: Thu Aug 10, 2006 3:40 pm Subject: Sub microsecond timing |
ding! Light just turned on. I forgot about that.
In the mean time I've been reading over a tutorial for assembly. I'm sure it will benifit me in the end for quick bit manipulations.
Thanks, ... |
Topic: Sub microsecond timing |
hansknec
Replies: 8
Views: 10314
|
Forum: General CCS C Discussion Posted: Thu Aug 10, 2006 3:05 pm Subject: Sub microsecond timing |
agreed. When I was talking about PBP it was with regard to the ability to have a low phase variation between captured edges. For some reason, polling the pin would give a horrible result.
I under ... |
|