You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Setup.md
+27-20Lines changed: 27 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,8 @@
1
-
Getting Started
2
-
===============
1
+
# Getting Started
3
2
4
3
This is a quick introduction on how to set up LEDscape on a Debian-based image
5
4
6
-
Setting up the BBB environment
7
-
==============================
5
+
# Setting up the BBB environment
8
6
9
7
To develop for LEDscape on a Debian environment, Start by copying the latest BBB image to an SD card. These instructions were made using version bone-debian-7.5-2014-05-14-2gb.img. The latest version can be found at:
10
8
@@ -30,8 +28,7 @@ Note: These packages used to be required, but now are included in the default im
30
28
31
29
sudo apt-get install git build-essential
32
30
33
-
Next, set up LEDscape:
34
-
======================
31
+
# Next, set up LEDscape:
35
32
36
33
Use git to download the repository:
37
34
@@ -49,13 +46,11 @@ Then run the identification program to test if all is well:
49
46
50
47
sudo bin/identify
51
48
52
-
Make a configuration file for your screen
53
-
=========================================
49
+
# Make a configuration file for your screen
54
50
55
51
The configuration file is what tells LEDscape how to draw it's virtual screen onto your matrix tiles or LED strips. There are two basic formats:
56
52
57
-
Matrix screen
58
-
-------------
53
+
## Matrix screen
59
54
60
55
Let's look at a sample matrix configuration. Here's one for a small display consisting of 4 LED matricies, arranged in a square:
61
56
@@ -82,8 +77,7 @@ The rotation is any one of the following values: N, U, L, R. 'N' and 'U' are use
82
77
The Virtual screen offset is the top-left position in the LEDscape virtual screen that will be drawn to this matrix panel. Normally you will want to map sections of the screen into contigouos regions, so the top-left panel in your display should have a virtual screen offset of 0,0, then the panel to the right of that one should be offset by the width of the first panel, either 16,0 or 32,0, and so on.
83
78
84
79
85
-
WS2812 strips
86
-
-------------
80
+
## WS2812 strips
87
81
88
82
Let's look at a sample WS2812 strip configuration. Here's one that can control a single strip output:
89
83
@@ -98,16 +92,14 @@ The first line of the configuration file describes the type of matrix. Here are
98
92
99
93
TODO: What do the next numbers here mean?
100
94
101
-
Testing your configuration
102
-
--------------------------
95
+
## Testing your configuration
103
96
104
97
For matricies, there is a handy identification program to draw some text that identifies each panel. Run it to test your new configuration:
105
98
106
99
sudo bin/identify myconfig.config
107
100
108
101
109
-
Set up the UDP listener to display incoming packets
Note: These packages used to be required, but now are included in the default image. You might need to install them if you're using a different Debian system.
156
+
Note: These packages used to be required, but now are included in the default Debian image. You might need to install them if you're using a different system.
0 commit comments