I was just Wondering if anyone here experiments with microcontrollers specifically Arduino?
@Phoenix you have to use OOP and millis (delay stops the whole microcontroller) Adafruit has a nice tutorial about that: https://learn.adafruit.com/multi-tasking-the-arduino-part-1/overview 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.
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
Python palindrome challenge.