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 Wed Nov 13, 2019 8:20 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Feb 15, 2015 4:16 pm 
Offline

Joined: Thu Feb 12, 2015 12:03 am
Posts: 9
Hi,

Is it possible to integrate my own (not in the standard device included in the raspberry pi) i2c device
without using any aditional sofware?

Can someone explain how to do this?

kind regards


Top
   
PostPosted: Mon Feb 16, 2015 1:37 pm 
Offline

Joined: Tue Jan 27, 2015 1:05 pm
Posts: 7
Hi on4bhm

I'm at the same point right now.
First thing you have to-do is to write your own devdesc.xml file.
Second is to create your own lib.
There is a sample on your local hard drive inside your user folder if you have installed the RaspberryPi package.
Also is a lib example in there.

Then Erikk uploaded his own devdesc.xml and a lib to run SHT-21 sensors (thanks again), see "Looking for library to run a SHT-1x sensor" discussion.
This may helps you to have an idea where to start.
Good luck, still working on my I2C-Device... and will upload it as soon as all is working.


Top
   
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