From: daniel watson Date: Mon, 30 May 2016 19:16:35 +0000 (-0700) Subject: add picture for arduino placement X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=commitdiff_plain;h=0b5cd84e95a2e84696afc5aa844bdf64a5ae4dc6 add picture for arduino placement --- diff --git a/.gitignore b/.gitignore index 6509293..19aeb8d 100644 --- a/.gitignore +++ b/.gitignore @@ -22,7 +22,6 @@ *.net *.ps *.pdf -*.svg *.zip ?savepcb.brd $*.sch diff --git a/curriculum/arduino-to-deck/4-place-arduino-closeup.svg b/curriculum/arduino-to-deck/4-place-arduino-closeup.svg new file mode 100644 index 0000000..15f2db0 --- /dev/null +++ b/curriculum/arduino-to-deck/4-place-arduino-closeup.svg @@ -0,0 +1,6577 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/curriculum/challenge-bot.scm b/curriculum/challenge-bot.scm index 2364250..aae56ec 100644 --- a/curriculum/challenge-bot.scm +++ b/curriculum/challenge-bot.scm @@ -36,15 +36,17 @@ (image :file "arduino-to-deck/3-place-arduino.png")) [here's a closeup] (figure :legend "arduino to deck / place arduino closeup" - (image :file "arduino-to-deck/4-place-arduino-closeup.png")) - [the arduino should line up with the holes on the deck. - place the arduino's top edge along the underside of the - deck's holes closest to the edge of the deck. - on the arduino, there's a hole on the top left. - that hole should be mid-way between two of the holes in the - grid of holes on the deck. - put the arduino hole between the third and fourth holes - from the left side of the deck.])) + (image :file + "arduino-to-deck/4-place-arduino-closeup.png")) + [the picture above shows where to place the arduino on the deck. + the arduino should line up with the holes on the deck. + this alignment line is highlighted in pink. + on the arduino, there's a hole on the top left, between the + orange reset button and black headers. + the green circle shows where the hole is. + the blue box encloses the arduino hole and two deck holes. + place the arduino hole mid-way between the two + deck holes.])) (subsubsection :title [drilling])) (subsection diff --git a/curriculum/makefile b/curriculum/makefile index 53c01e9..c445c3c 100644 --- a/curriculum/makefile +++ b/curriculum/makefile @@ -66,7 +66,14 @@ translate.html: translate.scm \ makefile @skribilo translate.scm > translate.html -challenge-bot.html: challenge-bot.scm +%.png:%.svg makefile + @inkscape \ + --export-png $@ \ + --file $< \ + > /dev/null + +challenge-bot.html: challenge-bot.scm \ + arduino-to-deck/4-place-arduino-closeup.png @skribilo challenge-bot.scm > challenge-bot.html clean: