{"id":118,"date":"2017-02-13T17:39:34","date_gmt":"2017-02-13T17:39:34","guid":{"rendered":"http:\/\/dial-a-grue.com\/gory\/?p=118"},"modified":"2017-02-14T01:34:23","modified_gmt":"2017-02-14T01:34:23","slug":"demo-of-a-short-game","status":"publish","type":"post","link":"https:\/\/dial-a-grue.com\/gory\/?p=118","title":{"rendered":"Demo of a short game"},"content":{"rendered":"<div id=\"attachment_111\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/dial-a-grue.com\/gory\/?attachment_id=111\" rel=\"attachment wp-att-111\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-111\" class=\"size-medium wp-image-111\" src=\"http:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2017\/02\/IMG_1182-e1487001605785-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" \/><\/a><p id=\"caption-attachment-111\" class=\"wp-caption-text\">The first real demo of the phone so far<\/p><\/div>\n<p>This is the first demo of the phone more-of-less complete. \u00c2\u00a0You can see a <a href=\"https:\/\/www.facebook.com\/DialAGrue\/videos\/1630591960582665\/\">video<\/a> over at my <a href=\"https:\/\/www.facebook.com\/DialAGrue\/\">facebook page<\/a>. \u00c2\u00a0Apologies for those who don&#8217;t use facebook, but the raw video is too big for wordpress to handle.<\/p>\n<p>After the demo, I decided that it was time to tear the phone apart and try interfacing with the phone hardware. \u00c2\u00a0Below you see roughly how the\u00c2\u00a0parts fit together inside the phone.<\/p>\n<div id=\"attachment_112\" style=\"width: 235px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/dial-a-grue.com\/gory\/?attachment_id=112\" rel=\"attachment wp-att-112\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-112\" class=\"size-medium wp-image-112\" src=\"http:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2017\/02\/IMG_1185-e1487007074183-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" srcset=\"https:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2017\/02\/IMG_1185-e1487007074183-225x300.jpg 225w, https:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2017\/02\/IMG_1185-e1487007074183-768x1024.jpg 768w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/a><p id=\"caption-attachment-112\" class=\"wp-caption-text\">The guts of the phone<\/p><\/div>\n<p>There isn&#8217;t a lot of room in there to maneuver, but I managed to get the switches for the hook (the bar in the back) and the PTT button (the leaf\u00c2\u00a0switch in the center) hooked up for XIO-P6 and XIO-P7 respectively. \u00c2\u00a0It looks like:<\/p>\n<div id=\"attachment_116\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/dial-a-grue.com\/gory\/?attachment_id=116\" rel=\"attachment wp-att-116\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-116\" class=\"size-medium wp-image-116\" src=\"http:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2017\/02\/IMG_1189-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2017\/02\/IMG_1189-300x225.jpg 300w, https:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2017\/02\/IMG_1189-768x576.jpg 768w, https:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2017\/02\/IMG_1189-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-116\" class=\"wp-caption-text\">The wires for the hook switch and the PTT button.<\/p><\/div>\n<p>It ain&#8217;t pretty, and the wires don&#8217;t stay in very well, but once it&#8217;s all wedged into the phone, it works reasonably well.<\/p>\n<p>My first pass at having the code react to these switches is pretty crude, but I have an idea of how to improve it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the first demo of the phone more-of-less complete. \u00c2\u00a0You can see a video over at my facebook page. \u00c2\u00a0Apologies for those who don&#8217;t use facebook, but the raw video is too big for wordpress to handle. After the demo, I decided that it was time to tear the phone apart and try interfacing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,11,7],"tags":[],"class_list":["post-118","post","type-post","status-publish","format-standard","hentry","category-ears","category-mouth","category-phone"],"_links":{"self":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/posts\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=118"}],"version-history":[{"count":0,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/posts\/118\/revisions"}],"wp:attachment":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}