View Single Post
Old 01-29-2017, 10:47 PM   #60 (permalink)
t vago
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Cedar Rapids, IA
Posts: 1,766

The Karen-Mobile - '05 Dodge Magnum SXT
Team Dodge
90 day: 26.72 mpg (US)

Fiat Dakota - '00 Dodge Dakota SLT RWD Quad Cab
90 day: 16.67 mpg (US)

The Red Sled - '01 Dodge Durango SLT 4WD
90 day: 16.96 mpg (US)
Thanks: 799
Thanked 681 Times in 437 Posts
Quote:
Originally Posted by josemapiro View Post
My idea was to have something simple and practical, like pushing a button and continuing the trip.
The current system though does the same is not practical.
I'll add it in, but it won't be a priority.

However, I do have some good news - My code now is able to use the TWI as an output interface. I have it using a SainSmart 2x16 LCD module for now for testing, but I hope to have that Adafruit RGB LCD shield fully functioning by the time the week is out. After that... a TFT interface? Why not?

I lifted the TWI code from the twi.c code that was part of the Arduino Wire library, and have cleaned up extensively and modified for use with the code. I hope to have it be able to support buffered output very soon. Yes, TWI is itself buffered, but it acts in practice as an extra digital input/output port, with all of the timing constraints and pin manipulation requirements, so I still have to do all of the port manipulations that I did with the original legacy 16x2 LCD module.

I also plan to try to implement LCD brightness over TWI that isn't either off or eyeball-scorching on.

Terms of the GNU Lesser General Public License, which covers the twi.c library
__________________
The Fiat Dakota


The Karen-mobile


The Red Sled

Last edited by t vago; 01-30-2017 at 05:48 AM..
  Reply With Quote
The Following User Says Thank You to t vago For This Useful Post:
josemapiro (01-30-2017)