{"id":1657,"date":"2017-12-20T02:52:23","date_gmt":"2017-12-19T17:52:23","guid":{"rendered":"http:\/\/dubstylee.net\/v\/?p=1657"},"modified":"2017-12-23T16:56:17","modified_gmt":"2017-12-23T07:56:17","slug":"sduino-memo","status":"publish","type":"post","link":"https:\/\/dubstylee.net\/v\/sduino-memo\/","title":{"rendered":"sduino \u30e1\u30e2"},"content":{"rendered":"<p>sduino\u95a2\u4fc2\u306e\u30e1\u30e2\u3002\u968f\u6642\u66f4\u65b0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>sduino\u3068\u306f\uff1f<\/h3>\n<ul>\n<li>STM8\u7cfb\u30de\u30a4\u30b3\u30f3\u3092Arduino IDE\u306b\u5bfe\u5fdc\u3055\u305b\u3088\u3046\u3068\u3044\u3046\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3002<\/li>\n<li>\u30bd\u30fc\u30b9\u95a2\u9023\u2192<a href=\"https:\/\/github.com\/tenbaht\/sduino\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/tenbaht\/sduino<\/a><\/li>\n<li>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u95a2\u4fc2\u306f\u3053\u3061\u3089\u2192 <a href=\"https:\/\/tenbaht.github.io\/sduino\/\" target=\"_blank\" rel=\"noopener\">https:\/\/tenbaht.github.io\/sduino\/<br \/>\n<\/a><\/li>\n<li>\u30b3\u30f3\u30d1\u30a4\u30e9\u306f<a href=\"http:\/\/sdcc.sourceforge.net\/\" target=\"_blank\" rel=\"noopener\">SDCC(http:\/\/sdcc.sourceforge.net\/)<\/a>\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002<\/li>\n<li>\u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u90fd\u5408\u4e0a\u5bfe\u5fdc\u8a00\u8a9e\u306fC\u306e\u307f\u3002\u30de\u30af\u30ed\u3068\u304b\u4f7f\u3063\u3066C++\u3063\u307d\u304f\u3057\u3066\u305f\u308a\u3059\u308b\u3051\u3069\u5168\u3066C\u306e\u307f\u3002\u4ed6\u306eArduino\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u304b\u3068\u4e92\u63db\u6027\u304c\u7121\u3044\u5834\u5408\u304c\u591a\u3044\u30cf\u30ba\u306a\u306e\u3067\u6ce8\u610f\u3002<\/li>\n<li>\u307e\u3060\u958b\u767a\u9014\u4e0a\u306a\u306e\u3067\u4e0d\u5177\u5408\u3084\u4f7f\u3048\u306a\u3044\u6a5f\u80fd\u306a\u3069\u6ca2\u5c71\u3042\u308b\u3002<\/li>\n<\/ul>\n<h3>\u73fe\u72b6\u306e\u5236\u9650\uff0f\u4e0d\u5177\u5408\u306a\u3069<\/h3>\n<ul>\n<li>Win\u3001macOS\u3001Linux\u5bfe\u5fdc\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u30dc\u30fc\u30c9\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u4f7f\u3046\u306e\u304c\u5409\u3002Linux\u306e\u5834\u5408\u306fArduinoIDE\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u30b7\u30b9\u30c6\u30e0\u3068\u304b\u3067\u306f\u3042\u304f\u672c\u5bb6\u304b\u3089Linux\u7248\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u308b\u306e\u304c\u826f\u3055\u305d\u3046\u3002<\/li>\n<li>\u30de\u30cb\u30e5\u30a2\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3060\u3068\u5de5\u592b\u304c\u5fc5\u8981\u3002\u74b0\u5883\u306b\u3088\u3063\u3066\u306fPlatform.txt\u3092\u4fee\u6b63\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/li>\n<li>I2C\u306f\u51fa\u529b\u306e\u307f\u52d5\u304f\u3002Ver0.3.3\u3060\u3068\u30d3\u30eb\u30c9\u6642\u306b\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002<\/li>\n<li>\u30b5\u30fc\u30dc\u95a2\u4fc2\u306e\u30b5\u30f3\u30d7\u30eb\u306a\u3069\u304c\u30a8\u30e9\u30fc\u306b\u306a\u308b\u554f\u984c\u3002Servo \u30e9\u30a4\u30d6\u30e9\u30ea\u5185\u306eServo.c \u306e<code>#include &lt;irqtable.h&gt;<\/code>\u304c\u4f59\u8a08\u306a\u306e\u3067\u524a\u9664\u3059\u308b\u3002<\/li>\n<li>\u8fd1\u3044\u3046\u3061\u306bstm8galt\u5bfe\u5fdc\u3059\u308b\u4e88\u5b9a\u3002bootloader\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u3002\u3053\u308c\u306b\u3088\u308aUSB\u30b7\u30ea\u30a2\u30eb\u30a2\u30c0\u30d7\u30bf\u30fc\u3067\u66f8\u304d\u8fbc\u307f\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308b\u3002\u3088\u308aArduino\u30e9\u30a4\u30af\u306b\u306a\u308b\u305e\u3068\u3002\u305f\u3060\u3057\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u306e\u306fSTM8S105\u7cfb\u3001STM8S207\u7cfb\u3060\u304c\u3001sduino\u306f207\u7cfb\u306f\u672a\u5bfe\u5fdc\u3002<\/li>\n<\/ul>\n<h3>\u305d\u306e\u4ed6<\/h3>\n<ul>\n<li>\u3053\u3053\u306f\u30de\u30b8\u53c2\u8003\u306b\u306a\u308b\u3002\u9006\u306b\u3053\u3053\u304c\u7406\u89e3\u3067\u304d\u306a\u3044\u3068\u5f53\u9762\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u5145\u5b9f\u3057\u306a\u3044\u306e\u3067\u3001\u4f7f\u3044\u3053\u306a\u3059\u306e\u306f\u96e3\u3057\u3044\u304b\u3082\u3002<br \/>\n<a href=\"https:\/\/lujji.github.io\/blog\/bare-metal-programming-stm8\/\" target=\"_blank\" rel=\"noopener\">https:\/\/lujji.github.io\/blog\/bare-metal-programming-stm8\/<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<div style=\"float: left; margin: 10px;\"><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=dubstylee-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=as_ss_li_til&amp;asins=B01N2R4UHN&amp;linkId=d3bc35729a8850b334d8ccbecb3521fa\" width=\"120\" height=\"250\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/div>\n<div style=\"float: left; margin: 10px;\"><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=dubstylee-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=as_ss_li_til&amp;asins=B01K9S6IU8&amp;linkId=6c439af3aa50c0e0a77d56e96033143d\" width=\"120\" height=\"250\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/div>\n<div style=\"float: left; margin: 10px;\"><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=dubstylee-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=as_ss_li_til&amp;asins=B012VR3PVA&amp;linkId=35bb067263cd2430dee996790e63e5c5\" width=\"120\" height=\"250\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/div>\n<div style=\"float: left; margin: 10px;\"><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=dubstylee-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=as_ss_li_til&amp;asins=B01JAT4DCW&amp;linkId=f9283e0f4c9210509c284de796ea5bf3\" width=\"120\" height=\"250\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>sduino\u95a2\u4fc2\u306e\u30e1\u30e2\u3002\u968f\u6642\u66f4\u65b0\u3057\u3066\u3044\u307e\u3059\u3002 sduino\u3068\u306f\uff1f STM8\u7cfb\u30de\u30a4&#8230; <a class=\"more-link\" href=\"https:\/\/dubstylee.net\/v\/sduino-memo\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1356,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,164],"tags":[137,167,136,153,146],"class_list":["post-1657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-sduino","tag-sduino","tag-stm8s","tag-stm8s103f3p6","tag-stm8s105c6t6","tag-stm8s105k4t6"],"_links":{"self":[{"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/posts\/1657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/comments?post=1657"}],"version-history":[{"count":8,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/posts\/1657\/revisions"}],"predecessor-version":[{"id":1724,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/posts\/1657\/revisions\/1724"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/media\/1356"}],"wp:attachment":[{"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/media?parent=1657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/categories?post=1657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/tags?post=1657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}