EXCELENTE!!! Poderia utilizar o exemplo em modo ponto/barra? Estou precisando saber como executar um programa como este. Sou iniciante em arduino. Obrigado!!!
Hi Tom, You explained very well but I'm little bit worried that you have created characters but never used in the loop. Your output can simply work with only below loop void loop() { lcd.setCursor(0,1); for(int i=0; i
//LCD Progress Bar //Include the library code: #include //Initialize the library with the numbers of the interface pins LiquidCrystal lcd(2, 3, 4, 5, 6, 7); //Create the progress bar characters byte p20[8] = { B10000, B10000, B10000, B10000, B10000, B10000, B10000, B10000, }; byte p40[8] = { B11000, B11000, B11000, B11000, B11000, B11000, B11000, B11000, }; byte p60[8] = { B11100, B11100, B11100, B11100, B11100, B11100, B11100, B11100, }; byte p80[8] = { B11110, B11110, B11110, B11110, B11110, B11110, B11110, B11110, }; byte p100[8] = { B11111, B11111, B11111, B11111, B11111, B11111, B11111, B11111, }; void setup() { //Set up the LDCs number of columns and rows: lcd.begin(16, 2); //Print a message to the LCD. lcd.print("ETechTomsChannel"); //Make progress characters lcd.createChar(0, p20); lcd.createChar(1, p40); lcd.createChar(2, p60); lcd.createChar(3, p80); lcd.createChar(4, p100); } void loop() { //Move cursor to second line lcd.setCursor(0,1); //Clear the line each time it reaches the end //with 16 " " (spaces) lcd.print(" "); //Iterate through each character on the second line for (int i=0; i
Автор крут. Он это сделал. Лучше бы скетч выложил. Пол дня парился с такими вот обрубками инфы, ни один выложенный скетч не работает. Чё толку с этого видео... Я выложил видео и сразу к нему скетч.
definitely CLEAR explanation !!! Thanks!
Your solution also works on my 40 x 4 LCD with LiquidCrystal440.h library. Your great effort are appreciated.
Super tutorial for progress bar, made it so easy for me, wonderful
This is the clearest explanation of how to implement a progress bar - I love your style - thanks for the inspiration
Yeah, What Geoff said. Super clear explanation! Thank you!!! Subscribing now.
EXCELENTE!!! Poderia utilizar o exemplo em modo ponto/barra? Estou precisando saber como executar um programa como este. Sou iniciante em arduino. Obrigado!!!
Thank you 😊
Thank you very easy to follow
As an engineer, i love the way you write and show stuff on paper.
Grazie mille è stato molto utile
This is a GOOD explanation
I love the way you explain. Very clear. Thank you.
Спасибо
Hi Tom,
You explained very well but I'm little bit worried that you have created characters but never used in the loop.
Your output can simply work with only below loop
void loop() {
lcd.setCursor(0,1);
for(int i=0; i
Great script !!! Is it available for download ? If yes, where ? Thank you ...
could we see the copde, please? :)
sure wish you would show your code ..but thanks helped a lot great job
very nice and very helpfull, Thanks
Hello - Any chance you make your code available ??
Clear explanation. 👍👍👍
awesome explanation
one of the best video i've seen.great work!!
good:)
excellent thanks
Thanks : )
Superb explanation
Thank you
This is awesome... and a great explanation... just wondering if there is an ino we can download or view online?
//LCD Progress Bar
//Include the library code:
#include
//Initialize the library with the numbers of the interface pins
LiquidCrystal lcd(2, 3, 4, 5, 6, 7);
//Create the progress bar characters
byte p20[8] = {
B10000,
B10000,
B10000,
B10000,
B10000,
B10000,
B10000,
B10000,
};
byte p40[8] = {
B11000,
B11000,
B11000,
B11000,
B11000,
B11000,
B11000,
B11000,
};
byte p60[8] = {
B11100,
B11100,
B11100,
B11100,
B11100,
B11100,
B11100,
B11100,
};
byte p80[8] = {
B11110,
B11110,
B11110,
B11110,
B11110,
B11110,
B11110,
B11110,
};
byte p100[8] = {
B11111,
B11111,
B11111,
B11111,
B11111,
B11111,
B11111,
B11111,
};
void setup()
{
//Set up the LDCs number of columns and rows:
lcd.begin(16, 2);
//Print a message to the LCD.
lcd.print("ETechTomsChannel");
//Make progress characters
lcd.createChar(0, p20);
lcd.createChar(1, p40);
lcd.createChar(2, p60);
lcd.createChar(3, p80);
lcd.createChar(4, p100);
}
void loop()
{
//Move cursor to second line
lcd.setCursor(0,1);
//Clear the line each time it reaches the end
//with 16 " " (spaces)
lcd.print(" ");
//Iterate through each character on the second line
for (int i=0; i
Thank you sir.... I actually went ahead and copied from your notes on the video... works awesome! Thanks!
Автор крут. Он это сделал. Лучше бы скетч выложил. Пол дня парился с такими вот обрубками инфы, ни один выложенный скетч не работает. Чё толку с этого видео...
Я выложил видео и сразу к нему скетч.
you don't make sense, why would lcd print j ? while it has no connection with those custom characters.
look up how for loops work