It is currently Thu May 23, 2013 7:05 am



Post new topic Reply to topic  [ 85 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 9  Next
Author Message
 Post subject: Re: 4D Labs μLCD-32PT(SGC) 3.2” Serial LCD Library
PostPosted: Wed Jan 25, 2012 5:38 pm 
Offline

Joined: Wed Nov 16, 2011 11:24 pm
Posts: 66
Looks great! You have enhanced your stuff a lot.

I need to get back to playing with my displays again and try out your later versions of the library. I have been playing with other projects and would like to get back to this soon. I see that I have not updated my thread up on Lynxmotion for quite awhile: (http://www.lynxmotion.net/viewtopic.php?f=21&t=7422&start=124).

When I get a chance to continue my play on this, I need to decide if I should continue to do my own work or try to convert over to your library. Obviously yours is far more advanced.

The main issue that I had before was that the code was that controls like buttons was that when the user presses on the button, the code would hang in the button code until the user releases the button, which for a lot of things is fine. But in my case, I am experimenting with a new version of my DIY remote control that uses an XBee to talk to one of my robots, and there are other devices to get data from, such as Joysticks, or buttons, or Nunchucks.... I use a handshake between the robot and the control, that when the robot sends a request for data, the remote needs to respond as quickly as possible. Also there are times when the robot may want to know when a button is pressed and when it is released. Example maybe a button on the displays is used to say fire the cannon and the user wants the cannon to keep firing until the user releases the button. Likewise I was playing with rudimentary slider controls, that for example one may be used to control the height of the robot. The user often will click on the slider and start to drag it up or down and watch the robot adjust its height and when the robot is at the correct height, the user releases the slider...

So I need to figure out if your library can handle this. Probably can figure this out by looking at a more recent copy of your stuff. But would appreciate any hints.

Thanks again for your great work
Kurt


Top
 Profile  
 
 Post subject: Re: 4D Labs μLCD-32PT(SGC) 3.2” Serial LCD Library
PostPosted: Wed Jan 25, 2012 6:02 pm 
Offline
Site Admin

Joined: Sat Jul 16, 2011 10:19 am
Posts: 288
KurtE wrote:
Looks great! You have enhanced your stuff a lot.
So I need to figure out if your library can handle this. Probably can figure this out by looking at a more recent copy of your stuff. But would appreciate any hints.

Thanks again for your great work
Kurt

You're welcome :)

I haven't changed the behaviour of the button.

However, getting rid of the de-bouncing feature shouldn't be difficult. I'll give a try.

Stay tuned :!:


Top
 Profile  
 
 Post subject: Re: 4D Labs μLCD-32PT(SGC) 3.2” Serial LCD Library
PostPosted: Wed Jan 25, 2012 6:40 pm 
Offline
Site Admin

Joined: Sat Jul 16, 2011 10:19 am
Posts: 288
I gave a look: I altered 2 lines of code and added 1 line of code.

Just download the latest release 29 from the :arrow: repository and have a look at the instant_main example:
Quote:
Jan 25, 2012 release 29 - button with instant option (no de-bouncing)

Now, to use a button with no-debouncing, just write
Code:
if (button.check(true)) {
    ...
}

The true parameter goes rid of the de-bounced behaviour.

For the normal de-bounced behaviour, use one of the following
Code:
button.check(false)
button.check()


Enjoy :)


Top
 Profile  
 
 Post subject: Re: 4D Labs μLCD-32PT(SGC) 3.2” Serial LCD Library
PostPosted: Sun Jan 29, 2012 5:15 pm 
Offline
Site Admin

Joined: Sat Jul 16, 2011 10:19 am
Posts: 288
This new release brings a new graphic Histogram.

Image

Histogram features peak memory, horizontal and vertical grid, and many more options!


Top
 Profile  
 
 Post subject: Re: 4D Labs μLCD-32PT(SGC) 3.2” Serial LCD Library
PostPosted: Sun Jan 29, 2012 8:09 pm 
Offline

Joined: Sun Nov 27, 2011 5:11 am
Posts: 86
Have you managed to make the SD card on this unit to work?


Top
 Profile  
 
 Post subject: Re: 4D Labs μLCD-32PT(SGC) 3.2” Serial LCD Library
PostPosted: Sun Jan 29, 2012 8:20 pm 
Offline
Site Admin

Joined: Sat Jul 16, 2011 10:19 am
Posts: 288
Yes, FAT16 only.

write/append strings
read strings

copy-save/read-paste screen


Top
 Profile  
 
 Post subject: Re: 4D Labs μLCD-32PT(SGC) 3.2” Serial LCD Library
PostPosted: Sun Jan 29, 2012 8:53 pm 
Offline

Joined: Sun Nov 27, 2011 5:11 am
Posts: 86
Nice! Great work!

What is the speed you can write to the card? (including the 115200 bps limit from chipKit serial) And what buffer size before flush or write does it have?

I might buy one if it works for my dashboard application.

LE: would your library work with the 4.3" one or is it size dependant? I saw you were workin on it.
LE2: also, would I need a 3.3-5V logic converter to use with chipkit?

Thanks, have a nice day!
Stefan.


Top
 Profile  
 
 Post subject: Re: 4D Labs μLCD-32PT(SGC) 3.2” Serial LCD Library
PostPosted: Sun Jan 29, 2012 9:16 pm 
Offline
Site Admin

Joined: Sat Jul 16, 2011 10:19 am
Posts: 288
slayer1991 wrote:
Nice! Great work!

You're welcome!

slayer1991 wrote:
What is the speed you can write to the card? (including the 115200 bps limit from chipKit serial) And what buffer size before flush or write does it have?

I haven't tested the speed of the SD-card writing/reading yet.

For buffer size, please refer to the [url=PICASO-SGC-COMMANDS-SIS-rev10.pdf]PICASO-SGC Command Set — Software Interface Specification[/url].

slayer1991 wrote:
LE: would your library work with the 4.3" one or is it size dependant? I saw you were workin on it.

My library is now size-independent.

I use it with the uOLED166, the uLCD32 and the uLCD43 with the same program. See the pictures at :arrow: Example: Same Code, Three Screens.

slayer1991 wrote:
LE2: also, would I need a 3.3-5V logic converter to use with chipkit?

No, just connect +5V, ground, RX and TX. Please refer to my tutorials.

There is a whole :arrow: section of my website devoted to the 4D screens and my library.


Top
 Profile  
 
 Post subject: Re: 4D Labs μLCD-32PT(SGC) 3.2” Serial LCD Library
PostPosted: Sun Jan 29, 2012 9:24 pm 
Offline

Joined: Sun Nov 27, 2011 5:11 am
Posts: 86
Quote:
My library is now size-independent.


Congrats!

Quote:
No, just connect +5V, ground, RX and TX.


I totally missed the small section on chipKit connections on your site. Thanks!


Top
 Profile  
 
 Post subject: 4D Labs μLCD-μLED-μVGA Serial LCD Library
PostPosted: Wed Feb 01, 2012 9:52 pm 
Offline
Site Admin

Joined: Sat Jul 16, 2011 10:19 am
Posts: 288
New release Feb 01, 2012 includes specific formatting function ttoa to display time. Parameters is in ms and the string returned selects the right unit —ms, s, mn or h— automatically.

Each .h / .cpp file has now its own numbering for easier management. Release control is performed as a pre-processor instruction:

Code:
// test release
#if PROXYSERIAL_RELEASE < 106
#error required PROXYSERIAL_RELEASE 106
#endif


So as at today, latest releases are:
  • Serial_LCD Jan 28, 2012 release 119 - colours constants e.g. redColour
  • proxySerial Feb 01, 2012 release 106 - ttoa used
  • Graphics Feb 01, 2012 release 106 — ttoa time to string added
  • button / GUI Jan 28, 2012 release 108 - new index

As always, documentations, examples, downloads and tutorials are available :arrow: here.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 85 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 9  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC [ DST ]