Happy New Year!
January 2, 2012 4 Comments
Happy New Year 2012 and thank you for all your visits! Below is the last few months of blog visits.
A total of more than 62,000 visits over the last year and 386 visits per day during the busiest day! In the last few months I was very busy with work and didn’t update enough of my blog as often. I hope with next semester I can spare more time on updates of my blog, open-source software libraries and hardware designs. It is going to an exciting year. I plan to make some devices for teaching labs, and I have a new and upgraded interface library to roll out in a few days to unite all libraries such as buttons, matrix keypad, analog buttons, rotary encoders etc. Please keep tuned!
In case you want to know the visit per month in December, it was 7,919, or 255 visits per day!
Hi, Liudr
I’ve looked all over and can’t figure out the “print” attributes that tell the cursor how to behave. I’ve looked at your code for Phi_panel_big_show and see that “clear screen” is “\f” and tab is “\t” and turning on/off autoscroll is but is there a listing that shows/labels all the commands available like (“\e[5m~”) ??
Thanks
No problem. The following is on page 29 of the documentation:
CSI n[;k] m: SGR ā Select Graphic Rendition
Notice that n and k are numbers but m is a character literal ‘m’, not a number. When n=0, k is omitted and the graphic style is reset. Underline or blinking cursor is hidden; back light brightness is set to 255. When n=4, underline cursor is shown. When n=24, underline cursor is hidden. When n=5, blinking cursor is turned on. When n=25, blinking cursor is turned off. When n=8, the display is turned off so the information is concealed. When n=28, the display turned on so information is revealed. When n=26, k describes the back light of the LCD, between 0 and 255.
Example1: “\e[5m~”. This turns on the blinking cursor.
Example2: “\e[4m~ “. This turns on the underline cursor.
Example3: “\e[26;128m~”. This sets the LCD back light to half the maximal brightness.
Link to the documentation:
http://code.google.com/p/phi-panel/downloads/detail?name=phi-panel-serial-documentation-20110922.pdf&can=2&q=#makechanges
Liudr,
Thanks….. makes sense with your added explanation. I had glossed past that section before but didn’t pick up on the “translation” of the examples to actual code. You’re a prince!
No problem Roy. I hope you like the panel. BTW, I sent your recent orders on their way on Tuesday. You should receive them in a day or two š
BTW, I collect old computer CPUs as a hobby. If you have any old computer CPUs, I’d be happy to trade my kits for CPUs.
http://liudr.wordpress.com/2011/04/09/exchange/