/
_ir.jade
23 lines (20 loc) · 1.4 KB
/
_ir.jade
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- var thismod = "ir"
- var pkg = "ir-attx4"
- var doThis = "Try turning on your TV! Look at the IR LED through a camera."
- var bonus = "<br/><br/><b>Bonus:</b> Change the code to turn on a different device."
- var i = 1
- var moduleDocs = moduleDocs_filepath + pkg
- var moreInfo = moreInfo1 + thismod.toUpperCase() + moreInfo2 + moduleDocs + moreInfo3
- var projects = [{title: '360deg. Product Photography (IR controlled) v0.5', slug: '360deg.-product-photography-ir-controlled', imgUrl: 'https://tessel-portal.s3.amazonaws.com/uploads/original-28-1408549917643-360.jpg'}, {title: 'tesselcopter', slug: 'tesselcopter', imgUrl: 'https://tessel-portal.s3.amazonaws.com/uploads/original-14-1405957068690-Screenshot%202014-07-21%2008.37.47.png'}, {title: 'IR controlled iPhone panorama selfie', slug: 'ir-controlled-iphone-panorama-selfie', imgUrl: 'https://tessel-portal.s3.amazonaws.com/uploads/original-12-1411803344906-super%20ego.jpg'}]
//- +see_video("http://youtu.be/JLZzLyH9jc4")
+make_directory(i, thismod)
- i++
+normal_row(i, modulesPlugged_filepath + thismod + ".jpeg", plugIn1 + thismod.toUpperCase() + plugIn2A)
- i++
+normal_row(i, moduleCorners_filepath + thismod + ".jpg", install1 + pkg + install2)
- i++
+displayCode(i, code.code, thismod)
- i++
+normal_row(i, moduleGifs_filepath + thismod + ".gif", push1 + thismod + push2 + doThis + bonus + moreInfo)
- i++
+seeForums(i, thismod, thismod.toUpperCase(), projects)