jurekb47 / u8glib

Automatically exported from code.google.com/p/u8glib
Other
0 stars 0 forks source link

Add delay after sending a byte with (ST7920 com) #107

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
hw spi avr --> done
sw spi arduino --> done
todo:
- parallel
- sp spi avr

additionally:
add parameter to the micro delay procedure to support longer delays

Original issue reported on code.google.com by olikr...@gmail.com on 30 Oct 2012 at 4:38

GoogleCodeExporter commented 8 years ago
added the for loop to "sw spi avr":
  for( i = 0; i < 10; i++ )
    u8g_MicroDelay();

probably this is too less and inacurate.
no change on parallel

Original comment by olikr...@gmail.com on 2 Dec 2012 at 11:34

GoogleCodeExporter commented 8 years ago
maybe add a "u8g_10MicroDelay()" for 10 usec

Original comment by olikr...@gmail.com on 5 Dec 2012 at 5:33

GoogleCodeExporter commented 8 years ago
delays added, do some testing

Original comment by olikr...@gmail.com on 6 Dec 2012 at 8:36

GoogleCodeExporter commented 8 years ago
probably there should be two timing values with each device
1. strobe length, multiple of 100ns
2. byte processing length, multiple of 1us

Original comment by olikr...@gmail.com on 6 Dec 2012 at 10:41

GoogleCodeExporter commented 8 years ago
this probably only applies to parallel devices

Original comment by olikr...@gmail.com on 7 Dec 2012 at 9:45

GoogleCodeExporter commented 8 years ago
some testing done, works with sw spi and parallel mode, but probably it is not 
fully solved. Retest with fast processor like Arduino Due requred... 
Will close this issue for now...

Original comment by olikr...@gmail.com on 10 Dec 2012 at 10:13