Arduino anybody? | Sololearn: Learn to code for FREE!


Arduino anybody?

I was just Wondering if anyone here experiments with microcontrollers specifically Arduino?

10/5/2017 4:02:36 PM


8 Answers

New Answer


@Phoenix you have to use OOP and millis (delay stops the whole microcontroller) Adafruit has a nice tutorial about that: Beware that the "multitasking" could be a bit misleading but all in all it should work in your case.


Thanks Phoenix for following me !


@Seamiki. Thank you for pointing me in this direction and taking time to respond. I think this is what I'm looking for. will take some time to change my program to use this method but will give me what I need. thanks again


I thought this question would be relevant here due to the fact that the programs are written in c/c++.


Is this a demographic or you have something to ask?


No, I have a question regarding timing functions. I'm not sure if my limitations are due to poor programming or hardware limitations. I was hoping to find someone smarter than me in this aspect. I already asked the smartest person I know and Google does'nt know. Or I don't know how to ask the right question either one. I just wanted to talk Arduino.


My specific question I guess would be Can you output a pwm signal while procesing range readings from a sonar sensor? PWM signals are pausing while the timer reads sonar sensor??? Why cant I do both??? Program or hardware?


I don't know much of arduino, but I'll ask a friend of mine who made some projects.