Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - analog input read

(you are viewing a thread; or go back to list of threads)

analog input read (by Daniel Passos)




Hello Congratullation by ldmicro

How can I receive the value off voltage in a microcontroller
analog input? Which is the function that make this possible?

thank's and i'm sorry about my english but I am from Brazil
and I still learning.

If someone can answer me in portuguese will be nice

thanks again
Fri May 7 2010, 13:57:56
(no subject) (by Samukelo Shezi)
Hi Daniel

This is a short program I did for analogs. There may probably be a better way of doingit, but up until someone else gives it to you, you can hold on to this one. I did not build it physically but it seems fine under simulation. I think the analog input needs some kind of an update clock, hence that's why I did it this way. But I'll be watching the responses from other people with a very keen interest as well!
Fri May 7 2010, 16:13:45, download attachment analog.ld
(no subject) (by Samukelo Shezi)
Daniel

What happened to you amigo? Did you try it? Note that you can click and slide the analog input to simulate variation!
Sat May 15 2010, 11:08:04
arduino (by Luigi Doria)
Hello,
how can I use the analog inputs with LDmicro? I can well with digital ones ... what should I do more?
thanks
Tue Jun 24 2014, 11:10:16
Analog Input question... (by Orhan)
Hi guys,
I have the same problem like Luigi Doria having.
No problem at all if I use only Digital IO... It does not work if an Analog Input is used.
It is giving error message when I try to generate ladder.cpp file... Any body to help on this issue...
Thanks
Orhan
Wed Mar 16 2016, 09:56:25
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):