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: src/client/docs.js
+36-38
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,12 @@ export const docs = {
22
22
img: "block_image.png"
23
23
},
24
24
"block.requiresSoldering": {
25
-
text: "Display an indicator in the app that parts in this block require soldering",
25
+
text:
26
+
"Display an indicator in the app that parts in this block require soldering",
26
27
img: "block_soldering.png"
27
28
},
28
29
"block.description": {
29
-
text:
30
-
`A short paragraph in html describing the block, its features and uses. This description will appear in the block’s info pop up.
30
+
text: `A short paragraph in html describing the block, its features and uses. This description will appear in the block’s info pop up.
31
31
always wrap you paragraphs in \`\`\`<p>text</p>\`\`\``,
32
32
img: "block_desc.png"
33
33
},
@@ -80,13 +80,11 @@ E.g: when adding a controller similar to Arduino Uno, choose “Arduino Uno”
80
80
text:
81
81
"If blank, the system will try to optimally place the part on the circuit, based on the geometry of its SVG file. To override this preset, specify the rotation angle in degrees."
82
82
},
83
-
"circuit.part.includeInFirmware": {
83
+
"circuit.part.includeInFirmware": {
84
84
text: `Adds the port definition in the code.`
85
85
},
86
86
87
-
88
-
89
-
"circuit.ports": {
87
+
"circuit.ports": {
90
88
text: `Ports are the representation of the physical interface between circuits.
91
89
A port can either require or provide attributes. These attributes are used by the system to connect between ports.`
92
90
},
@@ -109,16 +107,17 @@ A port can either require or provide attributes. These attributes are used by th
109
107
"circuit.port.requires.load": {
110
108
text: `Specify the load that the port provides/requires (Only for significant load above 50mA).`
111
109
},
112
-
"circuit.port.unique" : {
113
-
text: "Defines that no other ports will be routed to its provider. Connecting Arduino Uno with 2 flex sensors with unique ports, will determine that each unique port will be connected to a different ADC port on the Arduino."
110
+
"circuit.port.unique": {
111
+
text:
112
+
"Defines that no other ports will be routed to its provider. Connecting Arduino Uno with 2 flex sensors with unique ports, will determine that each unique port will be connected to a different ADC port on the Arduino."
114
113
},
115
114
"circuit.port.chainTo": {
116
115
text: `Used for chainable blocks. (e.g. Led Matrix, Led Strips) When these are defined, the system will connect only the first instance of the chainable blocks to the controller and the rest will be chained to one another using this definition.
117
116
In this field, specify a port name to chain to, it comes together with the ‘Port is Chainable’ in the corresponding provides port.`,
118
-
img: "block_chainBlocks.png"
117
+
img: "block_chainBlocks.png"
119
118
},
120
119
121
-
"circuit.port.provides": {
120
+
"circuit.port.provides": {
122
121
text: `List all attributes it can provide.
123
122
Note:
124
123
- For power (3.3-5v and GND) pins, leave the spec blank.
@@ -160,38 +159,39 @@ Relative units. (0-inf)
160
159
Support blocks with a lower cost will be tried first. For controllers, there may be more than one support block.`
161
160
},
162
161
163
-
164
-
165
162
"circuit.coders": {
166
163
text: `The coder information is used to generate the test code provided in the app.
167
164
A block can have multiple coders which will differ according to their supported controllers.
168
165
169
166
The coder links between the block and the auto-generated code according to the selected controller. The coder’s information will be used to render the code for your controller. It’s also possible to add external code libraries to coders.`
170
167
},
171
-
"circuit.name":{
172
-
text:`Internal name of the code in the database. Must be unique.`
173
-
},
174
-
"circuit.supportedControllers":{
175
-
text:`List the controllers for which this coder is applicable.`
176
-
},
177
-
"circuit.files":{
178
-
text:`Upload external code libraries if necessary.`
179
-
},
180
-
"circuit.license":{
181
-
text:`It is important to also upload the license of the library added, and make sure that it is …`
182
-
},
183
-
"circuit.classname":{
184
-
text:`Specify the class name for this coder if necessary.`
185
-
},
186
-
"circuit.varname":{
187
-
text:`Specify the var name for this coder. Must be unique among all coders.`
188
-
},
189
-
"circuit.code":{
190
-
text:`The firmware.ino is generated by combining templates from all selected coders.
168
+
"coder.name": {
169
+
text: `Internal name of the code in the database. Must be unique.`
170
+
},
171
+
"coder.supportedControllers": {
172
+
text: `List the controllers for which this coder is applicable.`
173
+
},
174
+
"coder.files": {
175
+
text: `Upload external code libraries if necessary.`
176
+
},
177
+
"coder.headers": {
178
+
text: `Specify a list of header files to be included in the firmware.ino (could also be built-in Arduino IDE libraries such as SoftwareSerial.h).`
179
+
},
180
+
"coder.license": {
181
+
text: `It is important to upload the license of the library added, specify the license type here and make sure that it is under the public domain.`
182
+
},
183
+
"coder.classname": {
184
+
text: `Specify the class name for this coder if necessary.`
185
+
},
186
+
"coder.varname": {
187
+
text: `Specify the var name for this coder. Must be unique among all coders.`
188
+
},
189
+
"coder.code": {
190
+
text: `The firmware.ino is generated by combining templates from all selected coders.
191
191
Fill in the following sections and preview the renderd code example to verify.
192
192
`
193
-
},
194
-
"coder.code.global": {
193
+
},
194
+
"coder.code.global": {
195
195
text: "Used for global variables. Rendered at the top of the file."
196
196
},
197
197
"coder.code.constructors": {
@@ -205,8 +205,7 @@ Fill in the following sections and preview the renderd code example to verify.
205
205
text: `demonstrates basic use of the part. Should include comments.`
206
206
},
207
207
208
-
209
-
"circuit.parts": {
208
+
"circuit.parts": {
210
209
text: `Parts are the building blocks of the circuits. They are physical components, represented by an illustrated SVG file, and refer to a specific electronic component model.
211
210
A circuit consists of at least one part which interconnects with other parts and ports of the block. These connections are defined in the ‘wiring’ section.
212
211
`
@@ -281,5 +280,4 @@ E.g. screws, nuts, bolts, heatsinks, breakouts or special connectors.
281
280
Note: these parts aren’t represented in the schematics.
0 commit comments