CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Tue Jan 21, 2020 12:47 am

All times are UTC+01:00

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to use the MCP3204?
PostPosted: Thu Nov 13, 2014 11:01 am 

Joined: Wed Nov 12, 2014 3:34 pm
Posts: 1
Hello everyone. I am doing MCP3204 connection, I want to read the measured values of the potentiometer. But in just a MCP3008 devices. I made a connection by introducing the MCP3008. The result was negative. So I can not read the values.
Is there any way of being able to use this device?

PostPosted: Fri Nov 14, 2014 8:00 am 
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3594
you need to modify the MCP3008.library which is part of the delivery
"c:\Users\<YourUsername>\CODESYS Control for Raspberry PI\\SPI_MCP3008.library" and DeviceDescription too.

use the FAQ in the FORUM section to read best practice on library development.

Debugging the library is possible (library you could debug compiled.library not) by clicken in the library manager to your desired fb,
and set a breakpoint in there.


Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 4 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited