Editing
Big LED Screen
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Controlling a running sign === You can use the "sendcmd.pl" script to send bytes to the sign. The usage is similar to xbee-pgm.pl: ./sendcmd.pl <serial port> <byte code> <byte code> is the decimal value of the byte to send. You should not send bytes too fast, and sometimes bytes get missed. Hopefully this will change in the future. You can address one or both of the halves by sending one of the following values: 0 - address left 1 - address right 2 - address both If you want to send a data value from 0 to 3 (inclusive) and don't want to address a screen, you can first send a "3", which indicates that the next byte should be treated as a data byte instead of an address byte. Immediately after you address a screen, you send a command: 64 - Turn on life, and randomly occasionally reset 65 - Turn on life without the periodic random reset 66 - Run test pattern 67 - Act as single-buffered framebuffer 68 - Act as double-buffered framebuffer 70 - clear framebuffer, home cursor 71 - set x coordinate of cursor 72 - set y coordinate of cursor 73 - for double-buffered framebuffer, swap front and back buffers 74 - for double-buffered framebuffer, do a single round of life and swap front and back buffers When setting an x or y coordinate of the cursor, follow the command with the cursor position added to 128. The cursor is 8 pixels wide horozontally and 1 pixel tall. Valid values for setting the X cursor coordinate are 128 through 135. Valid values for setting the Y cursor coordinate are 128 through 175. After you have issued attention and a command, any further bytes you send will be placed on the screen at the cursor, and then the cursor will go to the next 8 pixels. It scans in the standard left-to-right, top-to-bottom order. An example script, "gliders.sh", will place a bunch of gliders on the display. (You may need to change the "port" variable to match your local serial port). Note that it has several times where it stops and asks you if everything is ok; use ctrl-c to abort if any bytes got missed in transit, and then start over. For further information, UTSL. [[Category:Pages with a Noisebridge Tiny URL]]
Summary:
Please note that all contributions to Noisebridge are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Noisebridge:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Request account
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Dig in!
Noisebridge
- Status: MOVED
- Donate
- ABOUT
- Accessibility
- Vision
- Blog
Manual
MANUAL
Visitors
Participation
Community Standards
Channels
Operations
Events
EVENTS
Guilds
GUILDS
- Meta
- Electronics
- Fabrication
- Games
- Music
- Library
- Neuro
- Philosophy
- Funding
- Art
- Crypto
- Documentation/Wiki
Wiki
Recent Changes
Random Page
Help
Categories
(Edit)
Tools
What links here
Related changes
Special pages
Page information