From: Jan Michel Date: Fri, 3 Jan 2014 17:22:56 +0000 (+0100) Subject: fixed pixel bug X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=aaebbd0965cbbec70daf3a15e8297a9042d6fab0;p=trb3.git fixed pixel bug --- diff --git a/wasa/source/lcd.vhd b/wasa/source/lcd.vhd index dbe3119..157e091 100644 --- a/wasa/source/lcd.vhd +++ b/wasa/source/lcd.vhd @@ -453,7 +453,6 @@ fsm : process begin spi_data <= x"20"; end if; spi_send <= '1'; - pixcnt <= pixcnt + 1; else state <= WRITEWAIT; fontpos <= fontpos + 1; @@ -473,7 +472,8 @@ fsm : process begin else spi_data <= x"8B"; end if; - state <= WRITEFONT; + state <= WRITEFONT; + pixcnt <= pixcnt + 1; end if;