Permalink
Browse files

Correct offset is decimal 64 (40h)

  • Loading branch information...
1 parent 90158ba commit 6e150e45ebe9d1f6bc9281fed9f434c8eb11dd35 @edujoseg edujoseg committed Apr 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 BeagleBone_hd44780.c
View
@@ -239,7 +239,7 @@ void goto_ScreenLocation(int line, int position,struct gpioID enabled_gpio[])
{
unsigned int data_to_write;
- if (line==1) position=position+40;
+ if (line==1) position=position+64;
data_to_write=return_address_in_bitform(position,0);
data_to_write=bitWrite(data_to_write,1,0);

0 comments on commit 6e150e4

Please sign in to comment.