MacIntoshCZ Active Member Jul 6, 2021 #21 I had to rename.cpp to .h otherwise i cant upload it here Attachments lcd1602.h 3.9 KB · Views: 247 main - cpy.h 374 bytes · Views: 245 Last edited: Jul 6, 2021
gophert Well-Known Member Most Helpful Member Jul 6, 2021 #22 It looks like your lcd controller or the i2c overlay for the LCD controller already increments the cursor for you. So your code can be simplified - a bit.
It looks like your lcd controller or the i2c overlay for the LCD controller already increments the cursor for you. So your code can be simplified - a bit.
rjenkinsgb Well-Known Member Most Helpful Member Jul 6, 2021 #23 MacIntoshCZ said: void lcd_string(char *string, int x, int y) Click to expand... "string" is a reserved word, a different data type, in C++ Use something else as the name for the character array / pointer and it should get rid of that particular error.
MacIntoshCZ said: void lcd_string(char *string, int x, int y) Click to expand... "string" is a reserved word, a different data type, in C++ Use something else as the name for the character array / pointer and it should get rid of that particular error.
MacIntoshCZ Active Member Jul 6, 2021 #24 rjenkinsgb said: "string" is a reserved word, a different data type, in C++ Use something else as the name for the character array / pointer and it should get rid of that particular error. Click to expand... Thanks i forget about that.
rjenkinsgb said: "string" is a reserved word, a different data type, in C++ Use something else as the name for the character array / pointer and it should get rid of that particular error. Click to expand... Thanks i forget about that.
MacIntoshCZ Active Member Jul 6, 2021 #25 OK now the most challenging part is the RF PART!!! Can i use I2c protocol via RF? It will make my life easier i guess.
OK now the most challenging part is the RF PART!!! Can i use I2c protocol via RF? It will make my life easier i guess.
MacIntoshCZ Active Member Jul 6, 2021 #27 this thread follows project in this thread: https://www.electro-tech-online.com/threads/esp8266-non-wifi-mode.161837/ I only need to send request for water level and then receive data. I think that some 433Mhz module pair will be better choice? It should work at distance 50meters.
this thread follows project in this thread: https://www.electro-tech-online.com/threads/esp8266-non-wifi-mode.161837/ I only need to send request for water level and then receive data. I think that some 433Mhz module pair will be better choice? It should work at distance 50meters.