Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mrchad

Pages: 1
1
TinyDuino Processors & TinyShields / TinyScreen and power
« on: March 06, 2015, 06:57:21 PM »
I have a tinyduino with a watch battery clip and am using a CR 1632.  The problem is that it really can't power the TinyScreen.  After just a few seconds, the screen is to dim to see.  I'm guessing it can't hold the voltage high enough.  Is there a simple option for me?  Like somehow putting a second CR1632 in parallel?  Not sure how I would fasten it on.  Is there another coin battery that would work better?

Thanks!  Chad

2
TinyDuino Processors & TinyShields / Re: TinyScreen.cpp
« on: March 05, 2015, 12:33:33 AM »
I'm working on an analog clock, just because...

Ben, thanks for creating the library!  It will make my life a lot better anyway.

I looked at the new basic example project and I see a comment about a delay not being in the draw commands because it's not always needed.  I realize now, what I really needed was a delay after the clearWindow command, setBrighness must have added enough delay.

Replace loop in TinyScreen_Demo with this to see what I was talking about, assuming it happens for you.  I guess now, you just need to follow clearWindow with a draw command to repro what I was seeing.

void loop() {
  display.setCursor(15,20);
  display.fontColor(BLACK,WHITE);
  display.clearWindow(0,0,96,64);
//  display.setBrightness(15);
  display.drawRect(20,20,25,30,1,WHITE);
  display.print("BRIGHT!");
  delay(5000);
}

3
TinyDuino Processors & TinyShields / Re: TinyScreen.cpp
« on: March 03, 2015, 12:21:41 AM »
drawRect has this:
  if(r&0x10)r|=0x0F;//carry lsb
  if(g&0x08)g|=0x07;//carry lsb
  if(b&0x08)b|=0x07;//carry lsb

drawLine in the version of TinyScreen_Demo I downloaded did not. A call to drawLine passing in RED would draw a light blue line.  I see now that it's updated on codebender.  My real reason for posting was that I was just wondering if there was an official place to always get the latest version of TineScreen.cpp and h as a library.  Maybe just as a file in TinyScreen_Demo is it for now.  There are 16 projects on codebender named TinyScreen_Demo, so personally I would like to see it published as a library, not embedded in a project.  Plus there are a number of projects published by TinyCircuits that have those files.  Anyway, I was hoping there was a defined source location.

Also, both drawLine and drawBox will cause strange stuff to show on my screen if you don't call setBrigtness.  the print method doesn't seem to have the same issue.  The demo doesn't have this problem because it happens to call setBrightness before any of the draw commands.  I should say, for me I am passing in 15, then the strange stuff doesn't show up.  I see that the begin method in TinyScreen.cpp calls setBrightness(5);  If no one else is seeing this problem, I'll post an example project that causes the issue for me.


4
TinyDuino Processors & TinyShields / TinyScreen.cpp
« on: February 28, 2015, 11:05:18 AM »
Is TinyScreen.cpp/h that is part of the TinyScreen_Demo project being maintained as a library somewhere?  I noticed that drawLine doesn't calculate r,g,b correctly like drawRect does.  I wanted to see if the latest version fixed that.  Also, did anyone else notice you have to call setBrightness before any of the draw commands works correctly?

Thanks, Chad

5
New Product Ideas / Re: New Proto board
« on: August 10, 2013, 05:17:25 PM »
My vote would be for idea #1.  After trying something simple like an LED with a resister, or a photo resistor on the proto board, I realized the desperate need for some extra through holes to attach things to.  The extra board on top, with leads or wires dropping down to the proto board below would have been just the thing!

Chad

6
TinyDuino Processors & TinyShields / Battery clip
« on: August 10, 2013, 05:13:24 PM »
Can someone tell me a part number or something for the battery clip?  They are out of boards with the clip, so I wanted to see if I could purchase one from Digi Key or something.

Thanks!
Chad

Pages: 1
SMF spam blocked by CleanTalk