{"id":1079,"date":"2010-02-26T01:51:18","date_gmt":"2010-02-26T09:51:18","guid":{"rendered":"https:\/\/mathpirate.net\/log\/?p=1079"},"modified":"2010-02-26T01:51:18","modified_gmt":"2010-02-26T09:51:18","slug":"oh-well-obviously","status":"publish","type":"post","link":"https:\/\/mathpirate.net\/log\/2010\/02\/26\/oh-well-obviously\/","title":{"rendered":"Oh, well obviously&#8230;"},"content":{"rendered":"<p><a href=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2010\/02\/Illogical2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1082\" title=\"Illogical\" src=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2010\/02\/Illogical2.png\" alt=\"\" width=\"108\" height=\"313\" srcset=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2010\/02\/Illogical2.png 108w, https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2010\/02\/Illogical2-103x300.png 103w\" sizes=\"(max-width: 108px) 100vw, 108px\" \/><\/a><\/p>\n<p>So, that&#8217;s what was wrong with the rotation.\u00c2\u00a0 I was reading from the &#8220;Yes\/No&#8221; pin, instead of the &#8220;Logic&#8221; pin.<\/p>\n<p>You see, while the Logic pin gives you a\u00c2\u00a0 Boolean true\/false value, the &#8220;Yes\/No&#8221; pin gives you a Boolean true\/false value that just happens to always be false.\u00c2\u00a0\u00c2\u00a0Maybe it&#8217;s about time I look into something like NXC instead of the graphical Lego Programming tool&#8230;<\/p>\n<p>I moved it to the right pin and now it looks like\u00c2\u00a0the motor is\u00c2\u00a0moving both clockwise AND counter-clockwise.<\/p>\n<p>I still think it&#8217;s trying to kill me, though&#8230;<\/p>\n<p>At any rate, enough for today.\u00c2\u00a0 I&#8217;m already about a day behind plan, so staying up any longer trying to make the robot less scary isn&#8217;t going to help much.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, that&#8217;s what was wrong with the rotation.\u00c2\u00a0 I was reading from the &#8220;Yes\/No&#8221; pin, instead of the &#8220;Logic&#8221; pin. You see, while the Logic pin gives you a\u00c2\u00a0 Boolean true\/false value, the &#8220;Yes\/No&#8221; pin gives you a Boolean true\/false value that just happens to always be false.\u00c2\u00a0\u00c2\u00a0Maybe it&#8217;s about time I look into something [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[125],"tags":[15,20,26],"_links":{"self":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/1079"}],"collection":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/comments?post=1079"}],"version-history":[{"count":1,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/1079\/revisions"}],"predecessor-version":[{"id":1083,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/1079\/revisions\/1083"}],"wp:attachment":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/media?parent=1079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/categories?post=1079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/tags?post=1079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}