(you are viewing a thread; or go back to
list of threads)
Problem with analog input (by Antonio)
Hello I made a small program for arduino and I have compiled arduino sketch and the analog part does not work which can be the problem.
If I compile hex-asm if that works.
Regards
(no subject) (by Ihor Nehrutsa)
I see a bug. Will fix in next release.
(no subject) (by Ihor Nehrutsa)
Re-tested: There is no ADC bug in v4.3.5
And you may need to comment
wdt_enable(WDTO_2S);
in marchat1.cpp line 174
(no subject) (by Antonio)
Thank you very much Ihor Nehrutsa.
Regards.
Help (by Ahmad sakr)
Dear friends
Could you please tell me how to comment wdt_enable(WDTO_2S);
Sorry I have no experience in arduino ide and that is the cause who makes me interested in ldmicro
Waiting for your help
(no subject) (by Antonio)
No he conseguido soulucionar el problema la parte digital si que funciona pero la parte analogica no funciona.
Regards.
(no subject) (by Antonio)
I have not been able to solve the problem, the digital part does work, but the analog part does not work.
Regards.
Bug in analog arduino (by Ahmad sakr)
Dear Ihor Nehrutsa
I tested the above program marchat1 physical in arduino unknown board using ldmicro 436 and arduino 185 uploaded good (uploading done) and digital or but analog not responding
I also test adc.ld from samples also same in physical test gives digital or but analog not working
May be there is a bug in analog with arduino
You will see in the attachment add files after compiling for arduino sketch
Thanks very much
(no subject) (by Ihor Nehrutsa)
to Antonio
There is no Problem with analog input. (by Ihor Nehrutsa)
to Antonio
You have 8 LEDs to debug! Try to use them!
Use LDmicro simulation mode to view Y1, Y2 output levels.
LED1 may be ON only if X1 is pressed and X2 is unpressed!
There is no Problem with analog input.
(no subject) (by Antonio)
Thank you very much Ihor Nehrutsa.
Regards.
(no subject) (by Ahmad sakr)
Dear Ihor Nehrutsa and Antonio
I tested the last program by Ihor marshat1_2 physically it gives the same like the first one by Antonio like the one which belongs to me adc.ld. And all of them gives the same analog not working when Compil sketch to arduino
May be there is a problem.
Thanks
Regards
(no subject) (by Ahmad sakr)
Dear friends
To Antonio did you get good results for analog when compiled sketch to arduino unknown physically
Until now not working with me. If you solve it tell me how please
Thanks
Regards
(no subject) (by Antonio)
Hello Ahmad sakr for now I have not managed to solve the problem.
Regards.
(no subject) (by CoraDias)
Hi...as per my knowledge a analog input pin with nothing wired to it is said to be a 'floating input pin' condition and will not read zero counts as the very high impedance of the input pin will be influenced by electrical noise. To test out a analog input pin wire it to ground and then it should read a 0 count value, then wire it to the 5V pin and it should read 1023 count value. If it does both then it's a functional analog input pin.
(no subject) (by Ihor Nehrutsa)
(no subject) (by Antonio)
Hello Ihor Nehrutsa now if it works, thank you very much.
Regards.
(no subject) (by Ahmad sakr)
To Ihor Nehrutsa
Thanks very much, now. Analog working good in 4.3.7
Thanks
Post a reply to this comment:
|