{"id":228,"date":"2021-02-11T00:12:27","date_gmt":"2021-02-10T15:12:27","guid":{"rendered":"https:\/\/www.ekit-tech.com\/?p=228"},"modified":"2021-12-06T22:06:39","modified_gmt":"2021-12-06T13:06:39","slug":"pic%e3%81%a7%e6%8c%af%e5%8b%95%e3%83%a2%e3%83%bc%e3%82%bf%e3%83%bc%ef%bc%88%e3%83%90%e3%82%a4%e3%83%96%e3%83%ac%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%ef%bc%89%e3%81%8c%e5%8b%95%e3%81%8b%e3%81%aa","status":"publish","type":"post","link":"https:\/\/www.ekit-tech.com\/?p=228","title":{"rendered":"PIC\u3067\u632f\u52d5\u30e2\u30fc\u30bf\u30fc\uff08\u30d0\u30a4\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\uff09\u304c\u52d5\u304b\u306a\u3044\u306e\u306f\u300c\u96fb\u6d41\u4e0d\u8db3\u300d\u304c\u539f\u56e0"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20200210-36.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"800\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20200210-36.jpg\" alt=\"\u5186\u76e4\u578b\u632f\u52d5\u30e2\u30fc\u30bf\u30fc\uff08FM64F30T11F\uff09\" class=\"wp-image-231\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20200210-36.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20200210-36-300x200.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20200210-36-768x512.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20200210-36-1024x683.jpg 1024w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<p>\u3010P-15315\u3011\u3000\u5186\u76e4\u578b\u632f\u52d5\u30e2\u30fc\u30bf\u30fc\u3000FM64F30T11F<br>\u3010P-15317\u3011\u3000\u5186\u76e4\u578b\u632f\u52d5\u30e2\u30fc\u30bf\u30fc\u3000FM64G30T101<\/p>\n\n\n\n<p class=\"sp2\">\u79cb\u6708\u96fb\u5b50\u3067\u8cfc\u5165\u3057\u305f\u632f\u52d5\u30e2\u30fc\u30bf\u30fc\uff08\u30d0\u30a4\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\uff09\u3001\u3068\u308a\u3042\u3048\u305a3V\u3092\u6d41\u3057\u3066\u307f\u305f\u3051\u3069\u52d5\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3069\u3046\u3084\u3089\u3001\u96fb\u6d41\u304c\u8db3\u308a\u3066\u3044\u306a\u3044\u6a21\u69d8\u3002<\/p>\n\n\n\n<ul><li>PIC\u306b\u6d41\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u96fb\u6d41\uff1a25mA<\/li><li>\u632f\u52d5\u30e2\u30fc\u30bf\u30fc\u3092\u52d5\u304b\u3059\u306e\u306b\u5fc5\u8981\u306a\u96fb\u6d41\uff1a55mA<\/li><\/ul>\n\n\n\n<p class=\"sp2\">\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\uff082SC1815\uff09\u3092\u8ffd\u52a0\u3057\u3066\u3001\u96fb\u6d41\u3092\u5897\u5e45\u3059\u308b\u3053\u3068\u3067\u3001\u7121\u4e8b\u306b\u52d5\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/pwunalbFeJc\" allowfullscreen=\"allowfullscreen\" width=\"560\" height=\"315\" frameborder=\"0\"><\/iframe><\/p>\n\n\n\n<\/div><h2>\u56de\u8def\u56f3<\/h2><div class=\"inner\">\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20200210-35.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"800\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20200210-35.jpg\" alt=\"PIC\u3067\u632f\u52d5\u30e2\u30fc\u30bf\u30fc\uff08\u30d0\u30a4\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\uff09\u3092\u52d5\u304b\u3059\u70ba\u306e\u56de\u8def\u56f3\" class=\"wp-image-236\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20200210-35.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20200210-35-300x200.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20200210-35-768x512.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20200210-35-1024x683.jpg 1024w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<\/div><h2>\u30d7\u30ed\u30b0\u30e9\u30e0<\/h2><div class=\"inner\">\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ PIC12F683 Configuration Bit Settings\n\/\/ 'C' source line config statements\n#include &lt;xc.h&gt;\n\n\/\/ #pragma config statements should precede project file includes.\n\/\/ Use project enums instead of #define for ON and OFF.\n\n\/\/ \u521d\u671f\u8a2d\u5b9a\n#pragma config FOSC = INTOSCIO  \/\/ \u5185\u90e8\u30af\u30ed\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\uff083\u756aPin\u306f\u5165\u51fa\u529b\u306b\uff09\n#pragma config WDTE = OFF       \/\/ \u30d5\u30ea\u30fc\u30ba\u3057\u305f\u3068\u304d\u306b\u5f37\u5236\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u304b\uff1f\n#pragma config PWRTE = OFF      \/\/ \u8d77\u52d5\u6642\u3001\u96fb\u6e90\u304c\u5b89\u5b9a\u3059\u308b\u307e\u3067\u5f85\u3064\u304b\uff1f\n#pragma config MCLRE = ON       \/\/ \u5916\u90e8\u304b\u3089\u306e\u30ea\u30bb\u30c3\u30c8\u4fe1\u53f7\u3092\u53d7\u3051\u4ed8\u3051\u308b\u304b\uff1f\n#pragma config CP = OFF         \/\/ \u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5916\u90e8\u8aad\u307f\u53d6\u308a\u3092\u8a31\u53ef\u3059\u308b\u304b\uff1f\n#pragma config CPD = OFF        \/\/ \u30c7\u30fc\u30bf\u306e\u5916\u90e8\u8aad\u307f\u53d6\u308a\u3092\u8a31\u53ef\u3059\u308b\u304b\uff1f\n#pragma config BOREN = ON       \/\/ \u96fb\u6e90\u304c\u4e0d\u5b89\u5b9a\u306b\u306a\u3063\u305f\u3068\u304d\u52d5\u4f5c\u3092\u505c\u6b62\u3059\u308b\u304b\uff1f\n#pragma config IESO = OFF        \/\/ \u5916\u90e8\u30af\u30ed\u30c3\u30af\u304c\u5b89\u5b9a\u3059\u308b\u307e\u3067\u5185\u90e8\u30af\u30ed\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\u304b\uff1f\n#pragma config FCMEN = OFF       \/\/ \u5916\u90e8\u30af\u30ed\u30c3\u30af\u304c\u6b62\u307e\u3063\u305f\u3068\u304d\u5185\u90e8\u30af\u30ed\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\u304b\uff1f\n#define _XTAL_FREQ 1000000      \/\/ delay_ms()\u306a\u3069\u306e\u95a2\u6570\u7528\u306b\u30af\u30ed\u30c3\u30af\u5468\u6ce2\u6570\u3092\u5b9a\u7fa9\n\n\/\/ ============================================================\n\/\/\n\/\/                   \u30e1\u30a4\u30f3\u30d7\u30ed\u30b0\u30e9\u30e0\n\/\/\n\/\/ ============================================================\n\n\/*\u3000\u3000 \u3000\u3000\u3000\u3000\u3000      \u3000  12F683\n *                     \uff0d\uff0d\uff0d\uff0d\uff0d\uff0d        \n *               VDD \uff0d| 1      8 |\uff0d VSS\n *               GP5 \uff0d| 2      7 |\uff0d GP0\n *               GP4 \uff0d| 3      6 |\uff0d GP1\n *               GP3 \uff0d| 4      5 |\uff0d GP2\n *                     \uff0d\uff0d\uff0d\uff0d\uff0d\uff0d      \n *\/\n\nvoid main(void)\n{\n    \/\/ OSCCON \u30ec\u30b8\u30b9\u30bf\uff08\u5185\u90e8\u30af\u30ed\u30c3\u30af\u306e\u5468\u6ce2\u6570\u3092\u8a2d\u5b9a\uff09\n    \/\/ 1MHz\u306b\u8a2d\u5b9a\n    OSCCON = 0b01000000;\n\n    \/\/ TRISIO \u30ec\u30b8\u30b9\u30bf\uff08GP0\uff5eGP5\u306e\u5165\u51fa\u529b\u30e2\u30fc\u30c9\u3092\u8a2d\u5b9a\uff09\n    \/\/ \u3059\u3079\u3066\u51fa\u529b\u30e2\u30fc\u30c9\u306b\u8a2d\u5b9a\n    TRISIO = 0b00000000;\n\n    \/\/ ANSEL \u30ec\u30b8\u30b9\u30bf\uff08A\/D\u5909\u63db\u306e\u30af\u30ed\u30c3\u30af\u30fb\u30a2\u30ca\u30ed\u30b0\u5165\u529b\u30d4\u30f3\u3092\u8a2d\u5b9a\uff09\n    \/\/ \u5168\u3066\u30c7\u30b8\u30bf\u30eb\u30d4\u30f3\u306b\u8a2d\u5b9a\n    ANSEL = 0b00000000;\n\n    while(1) {\n        GP2 = 1;\n        __delay_ms(1000);\n        GP2 = 0;\n        __delay_ms(1000);\n    }\n  \n}<\/code><\/pre>\n\n\n\n<p><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/vibe.txt\">vibe.txt<\/a><\/p>\n\n\n\n<p class=\"sp2\">\u3053\u3046\u3044\u3046\u5f53\u305f\u308a\u524d\u306e\u3053\u3068\u3063\u3066\u3001\u610f\u5916\u3068\u307f\u3093\u306a\u66f8\u3044\u3066\u304f\u308c\u307e\u305b\u3093\u3082\u3093\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010P-15315\u3011\u3000\u5186\u76e4\u578b\u632f\u52d5\u30e2\u30fc\u30bf\u30fc\u3000FM64F30T11F\u3010P-15317\u3011\u3000\u5186\u76e4\u578b\u632f\u52d5\u30e2\u30fc\u30bf\u30fc\u3000FM64G30T101 \u79cb\u6708\u96fb\u5b50\u3067\u8cfc\u5165\u3057\u305f\u632f\u52d5\u30e2\u30fc\u30bf\u30fc\uff08\u30d0\u30a4\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\uff09\u3001\u3068\u308a\u3042\u3048\u305a3V\u3092\u6d41\u3057\u3066\u307f\u305f\u3051\u3069\u52d5\u304d\u307e\u305b\u3093\u3067 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":231,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[61],"tags":[68,69],"_links":{"self":[{"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/posts\/228"}],"collection":[{"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=228"}],"version-history":[{"count":11,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/posts\/228\/revisions"}],"predecessor-version":[{"id":871,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/posts\/228\/revisions\/871"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/media\/231"}],"wp:attachment":[{"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}