From: Bdale Garbee Date: Fri, 13 Aug 2010 01:19:55 +0000 (-0400) Subject: resolve integer truncation madness X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=964370165aa1b27553d311880a6fd9f761476fca;hp=d318dc9ae0a6d19902b21d227904a13e7f59c66d;p=hw%2Fbdale resolve integer truncation madness --- diff --git a/pkg/newlib/NHD-LCD.py b/pkg/newlib/NHD-LCD.py index f70588e..eed1308 100755 --- a/pkg/newlib/NHD-LCD.py +++ b/pkg/newlib/NHD-LCD.py @@ -5,9 +5,9 @@ # # dimensions in mm from Newhaven Display International datasheet -BodyWidth = 79 -BodyHeight = 36 -Column = 75 +BodyWidth = 79.0 +BodyHeight = 36.0 +Column = 75.0 Row = 2.54 PinDiam = 0.387