Liste des Groupes | Revenir à rc metalworking |
Thanks very very much for that.I saw that PDF earlier but didn't feel I could add anything to help at the time. I recently did my first serious Arduino project doing a bit of motor control with a Nano and using a counter to produce a periodic 4Hz interrupt. I found some of the online tutorials vague and talking about counter compare and counter overflow in the same article and not clear about what examples were for but sorted it in the end after looking more into the various register set-ups. Interrupts as well from rotary encoder on digital 2 input. 30+ years of C coding in various environments meant I was aware of issues with interrupts and the need for certain variables to be declared 'volatile' and handled accordingly.
Found
MCP960X-Data-Sheet-20005426.pdf
and suspected it had value. Now I know "it's it" I will spend time on
it over time.
>
https://learn.sparkfun.com/tutorials/i2c/all
might have come up on searches - tenuous maybe - but I didn't register
at all this is a good one.
>
This is all so new to me. Before yesterday morning I didn't know of
"pull-up resistors", for example.
I altered a circuit to test this
http://www.weldsmith.co.uk/computing/embeddev/240318_button_learn_pullup.html
"Arduino / embedded-devices - the learning begins"
Didn't take a video, but the LED is indeterminately going on and off
when the button is not being touched. etc, etc.
>
Better try to get back to sleep for now.
Thanks.
Rich S.
Les messages affichés proviennent d'usenet.