Hello!I have a problem with my display.It is the st7735 160x80 pixels, 0,96 inch.I want to make a calibration device to calibrate some axes for my project.Throttle for planes.There are two axes there.I do not want to go through the problem of having to mechanically calibrate it, so i want to do it electronically.When i wanted to make an interface and just did a quick test, instead of displaying the value(the value range is from 0 to 100%) it just shows some insane looking symbols sometimes across the whole row(depending on the value).By the way i am using potentiometers for the axes.
Here is the code that i am using:
is NOT updating your global variable pot but creating a local variable of the same name that doesn't retain the value with each call of loop(). It should be
I cant show you picture,but i can write some symbols not the exact same ones(because they are probably overlaping)but something close to them:
ﷺ this is arabic,but its something like this(just more pixelated).
What do you mean? Why would i put a for loop here? The problem is not reading the potentiometer value but making the display display the value on its screen.
Ok.So i have watched a video from learnelectronics where he showed how to get this display working.He used a sensor that could sense temperature, humidity and pressure.Then he used code similar to mine(I copied his code and just removed the sensor code and wrote some code to make the arduino read the potentiometer values) and it worked for him(he was reading the values from the sensor, while i am reading the values from the potentiometer).I think it has something to do with the display because when i open serial monitor it reads the values just fine.
My bad i mixed some things up.Yes, there is a datasheet but i dont think that the wiring diagram to connect it to arduino.The datasheet is not really important.
Heh, welll... the specific datasheet shows how the display works, or does not work, like when I mentioned a ST7735 that [looks nothing] like your ST7735... so, too, will be the information in the datasheet/specifications. I did a little reading. Your ST7735 wants 3v3, but some Arduino boards can not source the 3v3 power the display needs... then your video guy just hooked up the display to 5v - not recommended - and it "worked." So, go back through the help you have received, respond to their suggestions, and get the ST7735 working.
I did try it a 3.3 volts but it didnt work well it glitched, so i switched it to 5 volts and it worked but i still have the problem that i mentioned in the description.