How to control the registers of Arduino directly from python?

Thread Starter

Puviman

Joined Jan 5, 2022
2
I am working with Arduino boards (Pro mini and Nano). And need ideas to control the Arduino's registers directly from python, to have different sampling rate of the Arduino's ADC in Python code.
 

Ya’akov

Joined Jan 27, 2019
5,647
Welcome to AAC.

Could you explain what you mean by "directly from Python"? (Micro)Python will not run on those boards, where is the Python running? Could you describe the project in more detail?
 

Thread Starter

Puviman

Joined Jan 5, 2022
2
Welcome to AAC.

Could you explain what you mean by "directly from Python"? (Micro)Python will not run on those boards, where is the Python running? Could you describe the project in more detail?
I'm reading an analog pin and plotting it with the help of python and I want to set different sampling rate of ADC of Arduino through python code. So need to set registers corresponding to ADC sampling rate. Is there any way to set the Registers of Arduino through python
 
Top