View previous topic :: View next topic |
Author |
Message |
hemnath
Joined: 03 Oct 2012 Posts: 242 Location: chennai
|
mcp3422 library |
Posted: Wed May 22, 2019 2:33 am |
|
|
I am using Compiler Version 4.114. I can't find the library for mcp3422. Can you guys please help. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9246 Location: Greensville,Ontario
|
|
Posted: Wed May 22, 2019 5:06 am |
|
|
Maybe noone's made a driver ? Your compiler is old so CCS might have one in a more current version of the compiler.
That's just a simple ADC with I2C interface so easy to code yourself.
Start by using PCM P's 'I2C scanner' program to confirm your hardware is correct ! Be sure to use logic level conversions or an 'L' version PIC, if the device is only rated for 3 volts !!
You may search the forums, especially the 'code library' as someone may have used that device before.
Easy to convert another C into CCS C...
I don't have that device so I can't test even if I cut code for a driver.
Jay |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19551
|
|
Posted: Wed May 22, 2019 7:08 am |
|
|
Yes, there is a 342x driver with the compiler. Came out about V4.141 |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Wed May 22, 2019 4:04 pm |
|
|
Before you ask, because of copyright we cannot give or send you the driver.
You might try downloading the latest demo version to see if it is included...
Or, you can upgrade your compiler. _________________ Google and Forum Search are some of your best tools!!!! |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed May 22, 2019 5:16 pm |
|
|
I checked the CCS demo I have, which is a recent version. It's not in
there. He could ask CCS support if they will give it to him. But he should
only do this if he bought the compiler in the past. |
|
|
|