Author |
Message |
Topic: Compiler Problem - "I/O error 103" ?! |
edhaslam
Replies: 4
Views: 29651
|
Forum: General CCS C Discussion Posted: Thu Dec 04, 2008 3:27 am Subject: Compiler Problem - "I/O error 103" ?! |
Actually I did exactly that and it returned nothing useful, but thanks for the links. I'll contact CCS directly...
For the use of anyone else that has this problem in the future... It was due to ... |
Topic: Compiler Problem - "I/O error 103" ?! |
edhaslam
Replies: 4
Views: 29651
|
Forum: General CCS C Discussion Posted: Wed Dec 03, 2008 3:39 am Subject: Compiler Problem - "I/O error 103" ?! |
Has anyone come across this or have any idea what might be causing it?
It's in the archives. Do a forum search for:
I/O error 103
http://www.ccsinfo.com/forum/viewtopic.php?t=36368
http://www ... |
Topic: Compiler Problem - "I/O error 103" ?! |
edhaslam
Replies: 4
Views: 29651
|
Forum: General CCS C Discussion Posted: Wed Dec 03, 2008 3:05 am Subject: Compiler Problem - "I/O error 103" ?! |
Not sure if this is the right place for this type of question, but I though I'd sound you guys out anyway...
I've just upgraded to CCS v4 and opened a known project and attempted to compile it. Str ... |
Topic: TTL Phase shift/delay |
edhaslam
Replies: 4
Views: 5564
|
Forum: General CCS C Discussion Posted: Sat Jul 19, 2008 5:41 am Subject: TTL Phase shift/delay |
Many thanks guys, good food for thought. |
Topic: TTL Phase shift/delay |
edhaslam
Replies: 4
Views: 5564
|
Forum: General CCS C Discussion Posted: Wed Jul 02, 2008 9:18 am Subject: TTL Phase shift/delay |
Hi all,
I'm designing a lock-in amplifier and I need to generate a TTL reference signal (no problem) but also a 90 deg phase-shifted version of that signal also. The Frequency of the signal will be ... |
Topic: Can anyone recommend the MCP3425 ADC? |
edhaslam
Replies: 5
Views: 7232
|
Forum: General CCS C Discussion Posted: Tue Jun 17, 2008 1:33 am Subject: Can anyone recommend the MCP3425 ADC? |
Sorry, but I've never used that chip.
I guess I would say try it and see.
Sorry that this wasn't much help.
Can anyone comment on this or any other Analog mux?
No problem!
The only probl ... |
Topic: Can anyone recommend the MCP3425 ADC? |
edhaslam
Replies: 5
Views: 7232
|
Forum: General CCS C Discussion Posted: Mon Jun 16, 2008 1:26 am Subject: Can anyone recommend the MCP3425 ADC? |
Thanks for the comments guys.
or if slow enough, a analog mux and the A2D that is on the chip.
I think I'll go down the analogue mux route and pick a really good 16-bit ADC (low noise). Switchin ... |
Topic: Can anyone recommend the MCP3425 ADC? |
edhaslam
Replies: 5
Views: 7232
|
Forum: General CCS C Discussion Posted: Fri Jun 13, 2008 3:55 am Subject: Can anyone recommend the MCP3425 ADC? |
Just wondered if anyone had come accross this ADC from Microchip and if it was any good (or had any issues with it!)?
I have an application where I am measuring 8 channels of DC voltage i.e. speed ... |
Topic: 74165.c Expanded Input Chip |
edhaslam
Replies: 16
Views: 20592
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 8:35 am Subject: 74165.c Expanded Input Chip |
Sorry, I didn't know what you needed as a result.
Since you need int8 then use the struct as shown in my code snip it.
2 chips can return a struct, or int16 and the int16 could be broken down into i ... |
Topic: 74165.c Expanded Input Chip |
edhaslam
Replies: 16
Views: 20592
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 1:45 am Subject: 74165.c Expanded Input Chip |
Thanks for your patience treitmey.
I'll leave the original driver as is and use the defines in my main.
With regards to the make16() function - surely I need to use make8()? Doesn't the 74165 dr ... |
Topic: 74165.c Expanded Input Chip |
edhaslam
Replies: 16
Views: 20592
|
Forum: General CCS C Discussion Posted: Tue Apr 15, 2008 8:55 am Subject: 74165.c Expanded Input Chip |
Thanks treitmey, I've got this far but I'm still not getting any data out of the first chip:
#include <16f877A.h>
#device ICD=TRUE
#fuses HS,NOLVP,NOWDT
#use delay (clock=20000000 ... |
Topic: 74165.c Expanded Input Chip |
edhaslam
Replies: 16
Views: 20592
|
Forum: General CCS C Discussion Posted: Tue Apr 15, 2008 5:56 am Subject: 74165.c Expanded Input Chip |
try %u instead of %d
Ahh, silly mistake! Thanks, that fixed the -128 problem :-)
Any ideas for multiple chips? I now have two chips daisy chained, but somehow I need to access the two bytes in t ... |
Topic: 74165.c Expanded Input Chip |
edhaslam
Replies: 16
Views: 20592
|
Forum: General CCS C Discussion Posted: Tue Apr 15, 2008 4:31 am Subject: 74165.c Expanded Input Chip |
This seems to be a bit more reliable, although I'm still getting -128 when the 8th switch is selected!!
#include <16f877A.h>
#device ICD=TRUE
#fuses HS,NOLVP,NOWDT
#use delay (clock=2 ... |
Topic: 74165.c Expanded Input Chip |
edhaslam
Replies: 16
Views: 20592
|
Forum: General CCS C Discussion Posted: Tue Apr 15, 2008 3:55 am Subject: 74165.c Expanded Input Chip |
I don't see where you increment i
Yes, there should be a for loop. Strange that it (almost) worked before though without it??!!
#include <16f877A.h>
#device ICD=TRUE
#fuses HS,NOLVP,NO ... |
Topic: 74165.c Expanded Input Chip |
edhaslam
Replies: 16
Views: 20592
|
Forum: General CCS C Discussion Posted: Tue Apr 15, 2008 3:08 am Subject: 74165.c Expanded Input Chip |
Ok, I've breadboarded a demo board to test this and its almost working. I've got an 8-way switch connected to the 8 inputs of a 74HCT165 with the wiper connected to +5V. The 8 inputs are pulled low vi ... |
|