Skip to content

bachtiarpanjaitan/Bataxdevino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

How to use it ?

  • Import Bataxdevino library on your .ino file
#include <Bataxdevino.h>
  • Create a new variable of Bataxdevino library
Bataxdevino btx;
  • Then use it

Available Method Show text on LCD screen 16*2

  //import Library LiquidCrystal first
  LiquidCrystal lcd (RS,EN,d4,d5,d6,d7);
  ...
  lcd.begin(16,2);
  btx.lcdPrint(lcd,0,0,"your text here",true);
  ...

Read LCD Button 16*2

 //first initialize LCD
 const int buttonPin = 0;
 lcd.begin(16,2);

 btx.readLcdButton(buttonPin);

For special case, sometime you need convert an integer value into char and then you can use it.

//define variable char first
char yourChar[3];
yourChar = btx.intToChar(yourIntegerValue)

About

Bataxdev Library For More Module Of arduino

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages