simonmonk / prog_arduino_3

The source code for the sketches in the third edition of the book Programming Arduino: Getting Started with Sketches by Simon Monk
MIT License
9 stars 2 forks source link

Error in lcd.begin (09_01_message_board) #1

Open JanTLeung opened 9 months ago

JanTLeung commented 9 months ago

The parameters for the lcd.begin() function are in the wrong order. It should be:

lcd.begin(numCols, numRows);

https://www.arduino.cc/reference/en/libraries/liquidcrystal/begin/

Notwithstanding, a great reference book/learning tool. Thank you.

simonmonk commented 9 months ago

Many thanks for letting me know. I've updated the code. Kind Regards, Simon

On Mon, 11 Dec 2023 at 01:10, JanTLeung @.***> wrote:

The parameters for the lcd.begin() function are in the wrong order. It should be:

lcd.begin(numCols, numRows);

https://www.arduino.cc/reference/en/libraries/liquidcrystal/begin/

Notwithstanding, a great reference book/learning tool. Thank you.

— Reply to this email directly, view it on GitHub https://github.com/simonmonk/prog_arduino_3/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQC6UJFEUSXKTMMEESWPDLYIZMQRAVCNFSM6AAAAABAO7JVQCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZTINRUGE4DOMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Dr. Simon Monk +44 7544 373 418 http://simonmonk.org @simonmonk2 @.***@floss.social​