-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tets #1
Comments
Hi friend!! |
Thank you |
Hello dear Friend,
It´s not direct tied to the ADC bit depth or the input level, but would be
better if you have the center in 1.66V and the signal distributed in the
entire 0 - 3,3v range. You can do it easily using Opamp.
I used exactly the same circuit showed in the Root directory.
Thanks
Em sex., 17 de dez. de 2021 às 16:34, gelius1959 ***@***.***>
escreveu:
… Hello
Dealt with the code.
Cool, you are great.
One question .
Is the program somehow tied to the ADC bit depth?
To the input level?
I am planning to use, ADC 12 bit, and signal from 0v to 3v.
With a clear zero 2.5v
Will it be good, or do you need to correct the code?
Best regards.
Yrij.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUBPSRY3UEOTDWYB3EUIICLUROGFRANCNFSM5J7677OQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
--
Álvaro Brezolin Serdotte
Eletrobras CGT ELETROSUL - Termelétrica de Candiota
RS - Brasil
Fone: (+55 53) 99974 7034
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
Good works
//ENCODER VARIABLES
int indexx;
long int interp;
long int XY;
long int t;
int Sin,Cos,X,Y,A;
uint16_t B,B2,B3;
long int tits;//tets ???????
I understood correctly
Here's a mistake.
int octant,octant2;
extern float Error_d,SP_d,Pterm_d,Pterm2_d,Iterm_d,Iterm2_d;
extern float Error_q,SP_q,Pterm_q,Pterm2_q,Iterm_q,Iterm2_q;
extern float thetaSum,theta_eSum;
long int thetaI,Turns,Theta_Turns;
float theta,theta2,theta_e,AbsTheta,AbsTheta2;
int Sa,Ca,S,C;
And please if possible.
More comments for a good understanding of the program
At least in variables
int indexx;//?
long int interp; //?
long int XY; //?
long int t; //?
int Sin,Cos,X,Y,A;
uint16_t B,B2,B3; //?
long int tits; //?
int octant,octant2//?;
extern float Error_d,SP_d,Pterm_d,Pterm2_d,Iterm_d,Iterm2_d; //?
extern float Error_q,SP_q,Pterm_q,Pterm2_q,Iterm_q,Iterm2_q; //?
extern float thetaSum,theta_eSum; //?
long int thetaI,Turns,Theta_Turns; //?
float theta,theta2,theta_e,AbsTheta,AbsTheta2; //?
int Sa,Ca,S,C; //?
Sorry for my bad english
Regards, Yuri
The text was updated successfully, but these errors were encountered: