Pages: 1 2 [3]   Go Down
Author Topic: New UTFT Libray with Arduino ARM spport  (Read 11373 times)
0 Members and 1 Guest are viewing this topic.
Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 46
Posts: 2883
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'be been using both the CTE class and the UTFT class on a Digix and both are flawless, The CTE shield and class being noticeably faster compared to the class Mr Karlsen wrote last year. Screamer fast)
Apparently when he rewrote the class to better encompass the Arm Avr and Pic processors he changed a substantial amount of code. I have had.. some code for the class written early last year and the speed differences are substantial... One of the Very few times I've "Donated" to a project and really got my $0.50's worth.. The Manuals... "Manuals"? who ever heard of actually supplying manuals with Arduino code...?  The manuals are an encyclopedia compared to the Arduino Manuals? and are actually useful.
If you use Mr Karlsen's code a donation would be a sign that you appreciate what he has done and how much it's made your own work easier. FWIW I own 3, 3.2" displays (5 if you cound 2, 4D Systems 3.2" displays and an Itead 4.3 which was junk defective out of the box (randomly shows a silver screen and the postage to return it is more than the 'thing' is worth) and a CTE 4.3 which is beautiful.
All in all the best display of it's class I've ever seen.

Doc
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Laguna Hills, CA 92653
Offline Offline
Full Member
***
Karma: 0
Posts: 112
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, this great UTFT library supports my CTE32HR, and the CTE50 and CTE70
quite well.  The 22 September 2013 version of UTouch is also much better.
Thanks!!!

I added code to UTFT to support the CTE40 and
the CTE35, so now both seem to work well using
CTE40 or CTE35 as the display type.

I will try UTouch for calibration soon.
« Last Edit: October 03, 2013, 11:02:44 pm by garygid » Logged

Cheers, Gary
Due for controlling Electric car charging.
Nissan LEAF - Mini Quick Charge (mQC)

Laguna Hills, CA 92653
Offline Offline
Full Member
***
Karma: 0
Posts: 112
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The UTouch calibration required using LANDSCAPE mode for
the CTE35, but the 32HR, 35, 40, 50, and 70 all calibrate
and Paint, using somewhat modified libraries and sketches.

There is still at least one bug in the lbraries, possibly in UTFT_CTE
that causes icons to be positioned  relative to the right edge rather
than relative to the left edge.  Howeve, it should be easy to find.
Logged

Cheers, Gary
Due for controlling Electric car charging.
Nissan LEAF - Mini Quick Charge (mQC)

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The data pins are routed to PC1-8 (lower 8 bit) and PC12-19 (higher 8 bit), so you probably need to shift your lower 8 bit to the right<<1, and higher 8 bit to the right <<12, and then you can strobe the WR pin. So you will need 3 arduino command for one WR strobe.
Like this:
                REG_PIOC_CODR=0xFF1FE;
      REG_PIOC_SODR=(VL<<1) & 0x1FE;
      REG_PIOC_SODR=(VH<<12) & 0xFF000;
      pulse_WR();
if DUE has 32 bits port, why not use one data variable instead of VL and VH?
« Last Edit: October 05, 2013, 12:40:21 am by kortium » Logged

Pages: 1 2 [3]   Go Up
Jump to: