I have to interface 16x2 LCD and that too with the help of Shift register 74hc164 IC. So I want to change on my LiquidCrystal library. How can I make changes in it. It is showing error: LiquidCrystal lcd previously declared here.

  • 1
    it is unclear what you are asking ..... are you wanting to use a different LCD library? ..... with the help of Shift register 74hc164 IC is meaningless, for all we know, you could be using the 74hc164 for mechanical support under the LCD – jsotola Dec 11 '18 at 17:27
  • Please show us the code that throws this error during compilation – chrisl Dec 11 '18 at 21:50
  • I want to run the LCD which is connected with 74hc164 IC(Shift register). Pin Configuration: IC output pins Q0 to Q7 with LCD data pins D0- D7 , RS,EN pin for LCD with arduino, Clock pin of shift register IC with arduino. This all thing cannot be done by using the same arduino library. Therefore I want to customize it. – Akash Agarwal Dec 12 '18 at 14:07
  • How would I write code here. I am newbie. It cannot be written in comment – Akash Agarwal Dec 12 '18 at 14:21
  • LiquidCrystal is in the arduino installation folder, as opposed to your library folder. – dandavis Dec 12 '18 at 17:32

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.