You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
i want to experiment with a arduino pro mini (or nano) with this code
so when i am using the dcServoProMicro.ino to compile i am getting this error :
void countStep(){ if (PINF&B10000000) target1--;else target1++; } // pin A0 represents direction == PF7 en Pro Micro ^ exit status 1 'PINF' was not declared in this scope
Ok this is because on arduino pro mini the pin ports registers are different
for AO pin (PINF in ProMicro) in ProMini would be PINC
so when i change that to the code i can compile without any arror
my question has to do if it is worth it to try that code with an arduino pro mini for low speed motor
The text was updated successfully, but these errors were encountered:
Hi Pro micro and Pro mini are different boards using different processors.
Pro mini can work but you need to use the code for Arduino UNO and not for
Arduino Pro Micro.
I reckon you already cracked the port assignments
[image: image.png]
On Fri, Apr 26, 2019 at 7:32 PM caslor ***@***.***> wrote:
Hi
i want to experiment with a arduino pro mini (or nano) with this code
so when i am using the dcServoProMicro.ino to compile i am getting this
error :
void countStep(){ if (PINF&B10000000) target1--;else target1++; } // pin
A0 represents direction == PF7 en Pro Micro ^ exit status 1 'PINF' was not
declared in this scope
Ok this is because on arduino pro mini the pin ports registers are
different
for AO pin (PINF in ProMicro) in ProMini would be PINC
so when i change that to the code i can compile without any arror
my question has to do if it is worth it to try that code with an arduino
pro mini for low speed motor
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#60>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADRZSBJHTRQDPB4TVFEL2LPSM4AZANCNFSM4HIYFEZQ>
.
Hi
i want to experiment with a arduino pro mini (or nano) with this code
so when i am using the dcServoProMicro.ino to compile i am getting this error :
void countStep(){ if (PINF&B10000000) target1--;else target1++; } // pin A0 represents direction == PF7 en Pro Micro ^ exit status 1 'PINF' was not declared in this scope
Ok this is because on arduino pro mini the pin ports registers are different
for AO pin (PINF in ProMicro) in ProMini would be PINC
so when i change that to the code i can compile without any arror
my question has to do if it is worth it to try that code with an arduino pro mini for low speed motor
The text was updated successfully, but these errors were encountered: