{"id":16514,"date":"2023-06-01T07:18:00","date_gmt":"2023-06-01T07:18:00","guid":{"rendered":"https:\/\/bryceautomation.com\/?p=16514"},"modified":"2023-05-28T19:18:36","modified_gmt":"2023-05-28T19:18:36","slug":"using-sensor-switches-on-the-imsai","status":"publish","type":"post","link":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/","title":{"rendered":"Using Sensor Switches on the IMSAI"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction to Using Sensor Switches on the IMSAI 8080<\/h2>\n\n\n\n<p>Using Sensor Switches on the IMSAI 8080 allows you to give the operator a way to input data to your program.  You can use these switches to trigger events, set a program operating mode, or to select different options.  I&#8217;m running the IMSAI in Z80 mode, and I&#8217;ll be using the Z80ASM to compile the program.  I&#8217;ll also show a way to get the status of the sensor switches in MBASIC.  <\/p><div id=\"bryce-2101643666\" class=\"bryce-afterfirst bryce-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8316758073402323\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8316758073402323\" \ndata-ad-slot=\"7728240895\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n\n\n\n<p>If you don&#8217;t have the Z80ASM to run on the IMSAI, you can grab it from <a href=\"http:\/\/www.retroarchive.org\/cpm\/lang\/lang.htm\">this link.<\/a>  Additionally, I&#8217;ll be using WordStar to build the program as a non-document file.  It&#8217;s important to realize that in the examples below, I&#8217;m assuming the operator will only turn on one switch at a time.  This is simply for the purpose of demonstrating the INput command.  These examples will also demonstrate how to do branching based on a specific value of your switches.<\/p>\n\n\n\n<p>Basically, the sensor switches are the same as address\/data switches 8 to 15.  If you look at the bottom row of labels, you will see the sensor numbers 0 to 7.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"725\" height=\"526\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2023\/05\/SensorSwitches.png\" alt=\"\" class=\"wp-image-16527 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2023\/05\/SensorSwitches.png 725w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2023\/05\/SensorSwitches-300x218.png 300w\" data-sizes=\"(max-width: 725px) 100vw, 725px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 725px; --smush-placeholder-aspect-ratio: 725\/526;\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Writing the program in Assembly<\/h2>\n\n\n\n<p>As I said before, I&#8217;ll be using WordStar to create this program as a non-document file.  For future reference, I will store the file on the B: Drive, and it&#8217;s name is SENSORS.Z80.  In Assembly, we use the IN instruction to get the status of our switches.  Keep in mind the switches are on port 255 (decimal), or FF (hexadecimal).<\/p>\n\n\n\n<p>Don&#8217;t forget that the lights are all backwards.  In other words, when we send a 1 to a light, it shuts off.  Zero turns it on.  In this case, our logic is simple.  In reality, you can write complex functions that execute when the operator turns on a switch.<\/p>\n\n\n\n<pre class=\"wp-block-code has-light-green-cyan-background-color has-background\"><code>    ORG 0100H     ; Program lives at 0100H because it's under CP\/M.\nINIT:             ; Label for program initialization.\n    LD A,0        ; Initialize the accumulator to 0.\n    LD B,0        ; Initialize the B register to 0.\n    LD C,255      ; We'll be using C for our ports, which is 255.\n    OUT (C),C     ; Send 255 to the LED's to shut them all off.\nBEGIN:            ; Label for the beginning of our program.\n    IN A,(C)      ; Get the status of the switches.\n    CP 1          ; Compare the switches against 1 (A - Compare Value).\n    JP Z,SWZERO   ; If A is 1, then 1-1=0, so we jump to the SWZERO Label.\n    CP 2          ; Compare the switches against the value of 2.\n    JP Z,SWONE    ; If A is 2, then switch one is on.  Jump to the SWONE Label.\n    CP 4          ; Compare A against 4.\n    JP Z,SWTWO    ; If A is 4, then switch two is on.  Jump to the SWTWO Label.\n    CP 128        ; Compare A against 128.\n    JP Z,SWSEVEN  ; If switch 7 is on, then our value is 128.  Jump to SWSEVEN Label.\n    CP 0          ; Check for no switches.  \n    JP Z,NOSWITCH ; If no switches, then jump to NOSWITCH Label.\n    JP BEGIN      ; Jump to the beginning to check for more inputs.\nSWZERO:           ; SWZERO Label.\n    LD A,1        ; Load 1 into the accumulator.\n    CPL           ; Compliment the accumulator, flipping all bits.\n    OUT (C),A     ; Turn on Light 0.\n    JP BEGIN      ; Jump to beginning to continue.\nSWONE:            ; SWONE Label.\n    LD A,2        ; Load 2 into the A register (accumulator)\n    CPL           ; Compliment the accumulator, flipping all bits.\n    OUT (C),A     ; turn on light 2.\n    JP BEGIN      ; Jump back up to the BEGIN Label.\nSWTWO:            ; SWTWO Label\n    LD A,4        ; Load 4 into the accumulator.\n    CPL           ; Compliment the accumulator, reversing all bits.\n    OUT (C),A     ; Turn on light #2.\n    JP BEGIN      ; Jump to the begin label.\nSWSEVEN:          ; SWSEVEN Label.\n    CALL 0        ; Restart CP\/M (exiting this program).\nNOSWITCH:         ; NOSWITCH Label.\n    LD A,0        ; Load 0 into the A register.\n    CPL           ; Compliment the accumulator, flipping all bits.\n    OUT (C),A     ; Shut off all lights (sends 255 to the LED's).\n    LD A,0        ; Load the accumulator with zero.\n    JP BEGIN      ; Jump to the BEGIN Label.\n    END           ; End of this program.<\/code><\/pre>\n\n\n\n<p>At this point, we&#8217;ll press CTRL-K, then CTRL-X to save our document and exit WordStar.<\/p>\n\n\n\n<p>To assemble our program, I&#8217;ll simply type Z80ASM SENSORS.BBB\/F.  Remember the .Z80 extension is implied.  The &#8220;.BBB&#8221; is for our drive letters.  First, our file is on drive B.  Secondly, we are storing the COM file on drive, B.  Thirdly, we want the list file on drive B.  This list file is useful when troubleshooting.  Our &#8220;\/F&#8221; indicates that we want a full listing.<\/p>\n\n\n\n<p>Simply type B:SENSORS to run our program.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Writing the program in BASIC<\/h2>\n\n\n\n<p>BASIC is another common language to write programs in the Z80.  Let&#8217;s take a look at how we would write this:<\/p>\n\n\n\n<pre class=\"wp-block-code has-pale-cyan-blue-background-color has-background\"><code>10 REM SENSOR SWITCH TEST\n20 OUT C,B\n30 LET B = 0\n40 LET C = 255\n50 OUT C,C\n60 LET A = INP(C)\n70 IF A = 1 THEN GOSUB 150\n80 IF A = 2 THEN GOSUB 220\n90 IF A = 4 THEN GOSUB 270\n100 IF A = 0 THEN GOSUB 320\n110 IF A = 128 THEN END\n120 LET A = 0\n130 LET B = 0\n140 GOTO 60\n150 REM ENERGIZE LIGHT 0\n160 LET A = 1\n170 LET B = A XOR 255\n180 OUT C,B\n190 LET B = 0\n200 LET A = 0\n210 RETURN\n220 REM ENERGIZE LIGHT 1\n230 LET A = 2\n240 LET B = A XOR 255\n250 OUT C,B\n260 RETURN\n270 REM ENERGIZE LIGHT 2\n280 LET A = 4\n290 LET B = A XOR 255\n300 OUT C,B\n310 RETURN\n320 LET A = 0\n330 LET B = A XOR 255\n340 OUT C,B\n350 RETURN \n360 END<\/code><\/pre>\n\n\n\n<p>Basically, we&#8217;re just doing the same thing we did in the assembly example above.  You can use this logic, then modify your code to make a part of your program execute when the operator provides input.  Here, we are only using switches 0, 1, 2, and 7.  You can add different functions to this program for the other switches, or even use a combination of switches to trigger certain subroutines in your code.  If you need to use a combination of switches, simply figure out what the decimal value will be for the combination of switches the operator needs to turn on.  Use this number as the compare value.<\/p>\n\n\n\n<p>For more information, visit the <a href=\"https:\/\/bryceautomation.com\/index.php\/category\/vintage-computers\/imsai-8080\/\">IMSAI Category Page!<\/a><\/p>\n\n\n\n<p>&#8212; Ricky Bryce<\/p>\n<div id=\"bryce-2239312699\" class=\"bryce-after-content bryce-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8316758073402323\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8316758073402323\" \ndata-ad-slot=\"4667596182\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Introduction to Using Sensor Switches on the IMSAI 8080 Using Sensor Switches on the IMSAI 8080 allows you to give the operator a way to input data to your program. You can use these switches to trigger events, set a program operating mode, or to select different options. I&#8217;m running the IMSAI in Z80 mode, <a class=\"moretag btn btn-primary\" href=\"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/\">Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":16527,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[809,727],"tags":[946,945],"class_list":{"0":"post-16514","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-imsai-8080","8":"category-vintage-computers","9":"tag-in-command","10":"tag-sensor-switches","11":"czr-hentry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using Sensor Switches on the IMSAI - Bryce Automation<\/title>\n<meta name=\"description\" content=\"Using Sensor Switches on the IMSAI to trigger an even when the operator turns on an individual switch, or a combination of switches.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using Sensor Switches on the IMSAI - Bryce Automation\" \/>\n<meta property=\"og:description\" content=\"Using Sensor Switches on the IMSAI to trigger an even when the operator turns on an individual switch, or a combination of switches.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/\" \/>\n<meta property=\"og:site_name\" content=\"Bryce Automation\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ricky.bryce.7\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-01T07:18:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2023\/05\/SensorSwitches.png\" \/>\n\t<meta property=\"og:image:width\" content=\"725\" \/>\n\t<meta property=\"og:image:height\" content=\"526\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ricky\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/\"},\"author\":{\"name\":\"Ricky\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"headline\":\"Using Sensor Switches on the IMSAI\",\"datePublished\":\"2023-06-01T07:18:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/\"},\"wordCount\":554,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/SensorSwitches.png\",\"keywords\":[\"IN Command\",\"Sensor Switches\"],\"articleSection\":[\"Imsai 8080\",\"Vintage Computers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/\",\"name\":\"Using Sensor Switches on the IMSAI - Bryce Automation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/SensorSwitches.png\",\"datePublished\":\"2023-06-01T07:18:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"description\":\"Using Sensor Switches on the IMSAI to trigger an even when the operator turns on an individual switch, or a combination of switches.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/SensorSwitches.png\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/SensorSwitches.png\",\"width\":725,\"height\":526,\"caption\":\"Using Sensor Switches on the IMSAI\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2023\\\/06\\\/01\\\/using-sensor-switches-on-the-imsai\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bryceautomation.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using Sensor Switches on the IMSAI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/\",\"name\":\"Bryce Automation\",\"description\":\"Automating Home and Industry...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bryceautomation.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\",\"name\":\"Ricky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"caption\":\"Ricky\"},\"sameAs\":[\"http:\\\/\\\/bryceautomation.com\",\"https:\\\/\\\/www.facebook.com\\\/ricky.bryce.7\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/ricky-bryce-4367a416\\\/\"],\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/author\\\/ricky\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using Sensor Switches on the IMSAI - Bryce Automation","description":"Using Sensor Switches on the IMSAI to trigger an even when the operator turns on an individual switch, or a combination of switches.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/","og_locale":"en_US","og_type":"article","og_title":"Using Sensor Switches on the IMSAI - Bryce Automation","og_description":"Using Sensor Switches on the IMSAI to trigger an even when the operator turns on an individual switch, or a combination of switches.","og_url":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/","og_site_name":"Bryce Automation","article_author":"https:\/\/www.facebook.com\/ricky.bryce.7","article_published_time":"2023-06-01T07:18:00+00:00","og_image":[{"width":725,"height":526,"url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2023\/05\/SensorSwitches.png","type":"image\/png"}],"author":"Ricky","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/#article","isPartOf":{"@id":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/"},"author":{"name":"Ricky","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"headline":"Using Sensor Switches on the IMSAI","datePublished":"2023-06-01T07:18:00+00:00","mainEntityOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/"},"wordCount":554,"commentCount":0,"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2023\/05\/SensorSwitches.png","keywords":["IN Command","Sensor Switches"],"articleSection":["Imsai 8080","Vintage Computers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/","url":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/","name":"Using Sensor Switches on the IMSAI - Bryce Automation","isPartOf":{"@id":"https:\/\/bryceautomation.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/#primaryimage"},"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2023\/05\/SensorSwitches.png","datePublished":"2023-06-01T07:18:00+00:00","author":{"@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"description":"Using Sensor Switches on the IMSAI to trigger an even when the operator turns on an individual switch, or a combination of switches.","breadcrumb":{"@id":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/#primaryimage","url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2023\/05\/SensorSwitches.png","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2023\/05\/SensorSwitches.png","width":725,"height":526,"caption":"Using Sensor Switches on the IMSAI"},{"@type":"BreadcrumbList","@id":"https:\/\/bryceautomation.com\/index.php\/2023\/06\/01\/using-sensor-switches-on-the-imsai\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bryceautomation.com\/"},{"@type":"ListItem","position":2,"name":"Using Sensor Switches on the IMSAI"}]},{"@type":"WebSite","@id":"https:\/\/bryceautomation.com\/#website","url":"https:\/\/bryceautomation.com\/","name":"Bryce Automation","description":"Automating Home and Industry...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bryceautomation.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7","name":"Ricky","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","url":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","caption":"Ricky"},"sameAs":["http:\/\/bryceautomation.com","https:\/\/www.facebook.com\/ricky.bryce.7","https:\/\/www.linkedin.com\/in\/ricky-bryce-4367a416\/"],"url":"https:\/\/bryceautomation.com\/index.php\/author\/ricky\/"}]}},"_links":{"self":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/16514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/comments?post=16514"}],"version-history":[{"count":0,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/16514\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media\/16527"}],"wp:attachment":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media?parent=16514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/categories?post=16514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/tags?post=16514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}