# Digole 2.6" Serial LCD

**URL:** <https://community.particle.io/t/digole-2-6-serial-lcd/19743>\
**Category:** Hardware\
**Created:** [February 4, 2016, 6:25am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743 "2016-02-04T06:25:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tjp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/tjp/32/5613_2.png) [@tjp](https://community.particle.io/u/tjp)\
**Post date:** [February 4, 2016, 6:25am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/1 "2016-02-04T06:25:07Z")

</div>

I just got the 2.6" Serial display from Digole that @peekay123 suggested. I am wondering where I might find the latest version of the library for Photon. I know that @timb has some code on his Github, is that the latest and greatest?

Thanks,  
TJ

---

<div class="post-metadata">

**Author:** ![Hootie81](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/hootie81/32/2879_2.png) [@Hootie81](https://community.particle.io/u/Hootie81)\
**Post date:** [February 4, 2016, 7:07am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/2 "2016-02-04T07:07:38Z")

</div>

I think timb left the community a year or two ago, @peekay123 took over the good work

I think this is the latest and greatest

> **[pkourany/DigoleGeo](https://github.com/pkourany/DigoleGeo)**
>
> DigoleGeo - Digole for Spark Core with adapted UTFT Geometry library

and you may find this one useful too

> **[pkourany/DigoleUtility](https://github.com/pkourany/DigoleUtility)**
>
> DigoleUtility - Utility for Digole displays to upload fonts and start screen

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [February 4, 2016, 1:40pm UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/3 "2016-02-04T13:40:04Z")

</div>

@Hootie81, @tjp, I have not ported the latest Digole library, at least not publicly (!). The primitive extensions I had written were all for smaller displays and now need to use 2 byte coordinates. I have a bunch of new displays and just haven’t had the time to get to them (too much to do, too little time).

I want to get to this this weekend if possible. It shouldn’t take to much time. One feature I really want to dig into is the onboard flash for storing command sequences. Doing GUI stuff with that feature should be easy and offload a lot from the CPU.

Stay tuned 😉

---

<div class="post-metadata">

**Author:** ![tjp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/tjp/32/5613_2.png) [@tjp](https://community.particle.io/u/tjp)\
**Post date:** [February 4, 2016, 2:04pm UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/4 "2016-02-04T14:04:46Z")

</div>

@Hootie81, thanks!

@peekay123, you’d be my hero! lol Thanks, Paul, can’t wait!

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [February 4, 2016, 2:57pm UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/5 "2016-02-04T14:57:33Z")

</div>

@tjp, @Hootie81, quick vote needed. The existing digole library is ignorant of the geometry of the display being driven. The geometric primitives extensions need to know the geometry in order to function correctly. I have three options:

1. Extend the constructor to include the display width and height. If and when Digole changes their library again, these changes will need to be added again.

2. Create two #defines for width and height in the DigoleSerial.h file

3. Create a new public function for setting the display width and height.

I need your opinions please! 😀

---

<div class="post-metadata">

**Author:** ![tjp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/tjp/32/5613_2.png) [@tjp](https://community.particle.io/u/tjp)\
**Post date:** [February 4, 2016, 7:35pm UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/6 "2016-02-04T19:35:39Z")

</div>

Would subclassing their (ported) library allow you to do #1 more cleanly?

Otherwise, I’m tempted to say #3.

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [February 4, 2016, 8:06pm UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/7 "2016-02-04T20:06:08Z")

</div>

@tjp, I don’t want to deviate too much from their existing stuff. Since I am already adding extra functions for graphic primitives, it makes sense to add a few more to set and read the display width and height. That makes the extras easy to add to their future versions. I’ll set the default size to the 320x240 size of their new displays. I have the code compiling and I’ll be testing tonight if all goes well 😄

---

<div class="post-metadata">

**Author:** ![tjp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/tjp/32/5613_2.png) [@tjp](https://community.particle.io/u/tjp)\
**Post date:** [February 4, 2016, 8:11pm UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/8 "2016-02-04T20:11:39Z")

</div>

Sounds fine to me. I was just thinking if all of the added goodies were a subclass of their (ported) library, it might be that much easier to update. But I’m good with #3 if it’s easier for you. I’m just excited to play with my new display! 😄

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [February 5, 2016, 2:06am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/9 "2016-02-05T02:06:39Z")

</div>

@tjp, @Hootie81, I have completed the updates to the DigoleGeo library and tested with both a 320x240 LCD module and a 160x128 OLED module and all work well. For now, I only have the library on my github [**here**](https://github.com/pkourany/DigoleGeo).

Let me know how it works for you! 😉

---

<div class="post-metadata">

**Author:** ![tjp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/tjp/32/5613_2.png) [@tjp](https://community.particle.io/u/tjp)\
**Post date:** [February 6, 2016, 12:01am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/10 "2016-02-06T00:01:33Z")

</div>

I’m not getting anything at all. I uploaded the demo application and hooked it up as follows:

 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/9/9e7721089820b81224386ca1191e5ccbb2bdce63.jpg)

The wires on the right are hooked up to my multimeter. Thoughts?

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [February 6, 2016, 12:05am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/11 "2016-02-06T00:05:00Z")

</div>

Is this not an I2C display (D0/D1) not serial (RX/TX)?

---

<div class="post-metadata">

**Author:** ![tjp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/tjp/32/5613_2.png) [@tjp](https://community.particle.io/u/tjp)\
**Post date:** [February 6, 2016, 12:05am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/12 "2016-02-06T00:05:56Z")

</div>

It’s UART/SPI/I2C I’m using it in UART mode

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [February 6, 2016, 1:54am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/13 "2016-02-06T01:54:40Z")

</div>

@tjp you need to power off Vin 😉

---

<div class="post-metadata">

**Author:** ![tjp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/tjp/32/5613_2.png) [@tjp](https://community.particle.io/u/tjp)\
**Post date:** [February 6, 2016, 1:57am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/14 "2016-02-06T01:57:35Z")

</div>

I’m sorry, I don’t follow.

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [February 6, 2016, 3:08am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/15 "2016-02-06T03:08:13Z")

</div>

Power to the display should be 5v.

---

<div class="post-metadata">

**Author:** ![tjp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/tjp/32/5613_2.png) [@tjp](https://community.particle.io/u/tjp)\
**Post date:** [February 6, 2016, 3:15am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/16 "2016-02-06T03:15:03Z")

</div>

Documentation said 3.0-7.0V. But it didn’t work on VIN either. I’m starting to worry that it might be messed up

---

<div class="post-metadata">

**Author:** ![Hootie81](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/hootie81/32/2879_2.png) [@Hootie81](https://community.particle.io/u/Hootie81)\
**Post date:** [February 6, 2016, 4:10am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/17 "2016-02-06T04:10:52Z")

</div>

Does the screen turn on? and give the digole welcome image?

---

<div class="post-metadata">

**Author:** ![tjp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/tjp/32/5613_2.png) [@tjp](https://community.particle.io/u/tjp)\
**Post date:** [February 6, 2016, 4:32am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/18 "2016-02-06T04:32:06Z")

</div>

Nope, nothing

---

<div class="post-metadata">

**Author:** ![tjp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/tjp/32/5613_2.png) [@tjp](https://community.particle.io/u/tjp)\
**Post date:** [February 6, 2016, 6:56am UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/19 "2016-02-06T06:56:36Z")

</div>

Good news, the screen works. I’m not entirely sure how I did it, but I got the screen to power up using an Adafruit USB TTL cable (5V). I then hooked it back up to my Photon (VIN) and it worked and then I tested their claim of supporting 3.3V and it also worked there too. Flashed the demo, looks amazing! So far everything I’ve tried seems to work. I’ll keep playing with it.

Thanks, Paul!!!

---

<div class="post-metadata">

**Author:** ![tjp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/tjp/32/5613_2.png) [@tjp](https://community.particle.io/u/tjp)\
**Post date:** [February 6, 2016, 4:33pm UTC](https://community.particle.io/t/digole-2-6-serial-lcd/19743/20 "2016-02-06T16:33:00Z")

</div>

@peekay123, I’m using your really awesome `drawArc` fucntion to draw an RSSI indicator, but I noticed that the arcs have tails on them, am I doing something wrong?

EDIT:  
I’m also having trouble with color commands. Here’s my code, everything comes out white one the screen.

> **[tjpeden/digole-test](https://github.com/tjpeden/digole-test)**
>
> digole-test - Playing around with my new Digole 2.6" ISP Display with Touch

[Next page](https://community.particle.io/t/digole-2-6-serial-lcd/19743.md?page=2)
