The Fat Bastid

  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 1

Comments

Recent activity by The Fat Bastid Recent activity Votes
  • The change is to the data and command functions: void command(unsigned char c){  //To send commands  PORTB = c;                   //command on port  digitalWrite(DC, LOW);  latch();}void data(unsig...

  • Oh, I forgot the 'why' part.The full timing cycle (tCYCLE) is 400ns. Port register manipulation is a lot faster than directwrite. (250ns vs 70042ns)So,it would need timing delays to get it work right.

  • Got it working.My first attempt I didn't use ports at all, got garbage output (used bitread to feed the data lines)Found a post on here that recommend nothing but port registers. Faster? ok sounds ...