Show Posts
Pages: 1 ... 370 371 [372] 373 374 ... 510
5566  Development / Other Software Development / Re: Anyone else developing a user interface (UI) on LCDs and keypads/buttons? on: June 07, 2011, 12:39:17 pm
olikraus,

That was flattering. My library is not really a standard of any sort. I do have a decent manual though  smiley-grin
I've used LCD for quite some time and didn't see any libraries of user interface. I struggled to make my own and think lots have gone and will go through the same struggle so I made this library. It's anything but perfect although currently it's the only one posted here and on playground. Please forge ahead with your development. I will probably make a new release after the summer is over if I finish everything I plan to finish over the summer.
5567  Community / Bar Sport / Re: Digital illiteracy? on: June 07, 2011, 12:31:43 pm
I can see where this discussion is going.  smiley-evil

If I can make a suggestion to make such discussion more useful, I mean, with a conclusion that someone can read and say, ah I am a digital (il)literate by the standards of these many folks.

Suggestion: Someone post a poll where multiple options can be chosen. The poll is "What is included in digital literacy?". Its choices will dynamically increase as more people bring more items to the table. It will first be asking for what options someone wants on the poll for about a week, then the items are all entered into a poll and the poll runs and concludes after a week or so and results displayed on this board.

Anyone with experience running such poll online? I thought the forum poll is only single selection. This can be something quite useful and interesting to read and analyze.
5568  Using Arduino / Displays / Re: LCD only turns backlight on - No Text on: June 07, 2011, 09:20:25 am
Will need pics showing how connections are made on both the LCD side and your arduino side.
Just try this one, when you pull out connection to lcd pin 1, does the back light go out?
And also this, when you turn your potentiometer, do you see black squares/text?
5569  Community / Exhibition / Gallery / Re: Text-based User Interface library new release on: June 06, 2011, 03:37:21 pm
FalconFour,

Thank you! Lot to absorb so I don't attempt to simply reply right away. BTW, I've finished the documentation 33 page long:

http://liudr.wordpress.com/libraries/phi_prompt/

I used to do the switch (select_list(listPtr, 0,0, 15,1, listIdx, listOptions))  but I gave it up when writing the phi_prompt library. There are too many parameters and their orders matter unlike the structs with name identifying which parameter gets what value. It might fair better to newbies that may just be intimidated by the enormous list of parameters in the parentheses.

My other problem is whether to do:

result=get_number("Please input number", result);

or do:

get_number("Please input number", &result);

The first one needs no "&" so is newbie friendly but does waste 2 bytes on the stack and the second one is more elegant to more experienced programmers and makes less sense to beginners. I went for the second way but want to revert back with additional "simplified versions" of the more complex versions such as input_integer().
5570  Development / Other Software Development / Re: Anyone else developing a user interface (UI) on LCDs and keypads/buttons? on: June 06, 2011, 03:30:24 pm
Impressive. I'll take a lot of time to catch up with you. BTW, my documentation is final finished, after 33 pages. I sincerely hope someone will read it  smiley-sweat smiley-grin
5571  Using Arduino / Displays / Re: Multiple LCDs on: June 06, 2011, 03:21:09 pm
I think there should be 7-segment LED driver chips that do these more elegantly. Google them.
5572  Community / Bar Sport / Re: Digital illiteracy? on: June 06, 2011, 03:19:08 pm
The point here is not "mastering programming for everyone", more of "a survey of what you can do with computers if you are allowed to control it with your own programs". I think lots of visual artists have their eyes opened when they were introduced Processing, simple and elegant way to do lots of visual stuff without photoshop or what not. They even start learning kinematics to make things fall or bounce more realistically, sometimes very spontaneously. I don't see many of my students learn kinematics in physics classes though. If they know that there is a wonderful world inside of every computer, the decision is up to them to decide whether to explore it or not. Human nature may just dictate the yes answer. Simply locking it up like apple or ms for the sake of less customer service calls or what not is wrong.

Imagine you have 5 fingers and you are for your own safety wearing a pair of mittens, well, as a baby (maybe to prevent yourself from scratch the hell of your itchy skins). Then after years of constraint, you don't even know you had the freedom to move those 5 fingers independently but pick up food like an animal. This is the reality of years of dumbing the public down on computer literacy. Nobody knows how a computer works and what you can do with it (other than facebook or twitter). All they care is what they see and what others do with computers.
5573  Using Arduino / General Electronics / Re: PCB Design on: June 06, 2011, 11:28:44 am
Quote
expresspcb is nice also.

This software sucks. I would use an etch resist pen and a ruler to do board layout before i used expresspcb's software again.

-j


I guess people have different opinions on expresspcb. I haven't touched it for a few years and didn't consider it when I started seriously learning PCB because they used proprietary file formats when I used it. Their PCB service was also too expensive. I don't know how they compare right now to EAGLE.
5574  Using Arduino / Displays / Re: [solved] 16x4 LCD: Characters in row 3&4 are moved to the right on: June 06, 2011, 11:25:44 am
16*2 is the basic display and my library is working on a 16*2 display. Some pretty features such as scroll bar and centering highlighted item won't show so well on 16*2 displays but all essential features are tested on my own phi-2 shield with 16*2 display smiley
5575  Development / Other Software Development / Re: Anyone else developing a user interface (UI) on LCDs and keypads/buttons? on: June 06, 2011, 11:21:03 am
Awesome! The code reads similar to java. My ultimate goal is to create something like a dialog or panel, with multiple inputs of different types, much like a dialog you see in java dialogs.

See this one I found randomly online:


There are lists, number entries, radio buttons, text entries and several buttons. Apparently I'm not going for their level of visual details but a rough text-based version.

You can use left/right or a tab to move among the fields on the panel and change values here and there.
5576  Using Arduino / Displays / Re: [solved] 16x4 LCD: Characters in row 3&4 are moved to the right on: June 06, 2011, 12:47:03 am
Yes. I have a thread on TUI in the software development. We could make a new thread or use that one.
5577  Using Arduino / Displays / Re: [solved] 16x4 LCD: Characters in row 3&4 are moved to the right on: June 05, 2011, 06:48:55 pm
That looks great. I am going to expand my library to ks0108 display but more or less to stay text based. We could exchange some tricks. I am sure if our libraries share some aspects, users of both libs will appreciate. I am going to use java-like names for new stuff. This should make it easier for those with some java background.
5578  Community / Bar Sport / Re: Digital illiteracy? on: June 05, 2011, 01:20:07 pm
Very lively discussion, with music on the background smiley-wink

Let me chip in some stuff I've been thinking since I saw the first post.

1) There are too many digital illiterates compared with how many computers on the planet

2) Computer/digital literacy should be a part of high school/college general education classes (too bad only I and a CSCI professor on my campus would probably vote yes), like there are English literacy classes on composition. Using computer programs is not the complete literacy, like someone can only read but not write, basic programming skill is needed.

3) Programming languages should be taught like other languages, with lots of reading of short to medium length classic programs and find errors on some reading and appreciating the beauty of other reading. I recall I did this accidentally when I got my 4 books of BASIC programs. There were lots of programs that are like simple games, guessing numbers etc. To a 10-year old they were perfect. Most of the editors at the publishing house didn't know BASIC so they made simple printing mistakes here and there and my brother and I were correcting mistakes as we when from one program to another.
5579  Using Arduino / Displays / Re: [solved] 16x4 LCD: Characters in row 3&4 are moved to the right on: June 05, 2011, 12:11:36 pm
Finally I finished my RGB selection menu...



Thanks for the support!



Nice work! Maybe you can use some of my library or not to expand your menu.
5580  Using Arduino / Displays / Re: 16x4 LCD: Characters in row 3&4 are moved to the right on: June 05, 2011, 12:03:39 pm
Aye.  I think most people are either using it with a 16x2 or a 20x4, so the issue doesn't pop up.

If my recollection is right, there are two ways to address the LCD onboard memory (DDRAM?) that stores characters in a 16X4 display, 20 bytes for one line, the same way as 20X4, or 16 bytes for one line. I don't think the library can tell which way so it simply looks at 2 or 4 rows and makes a decision that is compatible with most displays.
Pages: 1 ... 370 371 [372] 373 374 ... 510