Skip to content
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

Code formatting Variable name index=0 line 138 #41

Open
Xexnon opened this issue Apr 14, 2020 · 2 comments
Open

Code formatting Variable name index=0 line 138 #41

Xexnon opened this issue Apr 14, 2020 · 2 comments

Comments

@Xexnon
Copy link

Xexnon commented Apr 14, 2020

The line gave a compile time error while porting code to esp32.
int motorPWM,index=0, prev_index,i, wait_cycles,cycle_number, cycles_lost,index_last_motion;

Variable name index =0

Error
char *to int conversation fail

all index had to be renamed.

to something like index_somename

@Xexnon
Copy link
Author

Xexnon commented Apr 14, 2020

Related to #11 and #37

@Arie001
Copy link

Arie001 commented Apr 21, 2020

This was on platform.io compiled for esp32 . Not checked on a clean install of platform.io I suspect
one the name "Index" was defined on one of the libraries I have as global . It is not a bug it may be
related to my setup. The reason for the compile

Is to try do the project on a more modern chip where memory is not a issue.
No More no Less not a bug or a Issue.

I my forked of the code
ESP32 Rotary Encoder Touch TFT SD .
Wifi BLE MQTT

Arie_respirator-control_rev2_encoder_Back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants