{"id":391,"date":"2012-10-16T14:47:45","date_gmt":"2012-10-16T14:47:45","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=391"},"modified":"2014-09-26T15:05:29","modified_gmt":"2014-09-26T15:05:29","slug":"io-speed","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/programming-in-c\/io-pins\/io-speed","title":{"rendered":"IO Speed"},"content":{"rendered":"<p>\nUsing this C code running as an exe on &quot;2012-09-18-wheezy-raspbian.img&quot;:\n<\/p>\n<pre>\r\n<code>\r\n\twhile (1)\r\n\t{\r\n\t\tbcm2835_gpio_write(RPI_GPIO_P1_13, 0);\r\n\t\tbcm2835_gpio_write(RPI_GPIO_P1_13, 1);\r\n\t}\r\n<\/code><\/pre>\n<p>\nthe pin output was this:\n<\/p>\n<p>\n<a href=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2012\/10\/signal_speed.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"alignnone size-medium wp-image-392\" height=\"225\" src=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2012\/10\/signal_speed-300x225.jpg\" title=\"signal_speed\" width=\"300\" srcset=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2012\/10\/signal_speed-300x225.jpg 300w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2012\/10\/signal_speed.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<\/p>\n<h4>\nSee Also<br \/>\n<\/h4>\n<p>\n<a href=\"http:\/\/codeandlife.com\/2012\/07\/03\/benchmarking-raspberry-pi-gpio-speed\/\" target=\"_blank\">http:\/\/codeandlife.com\/2012\/07\/03\/benchmarking-raspberry-pi-gpio-speed\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using this C code running as an exe on &quot;2012-09-18-wheezy-raspbian.img&quot;: while (1) { bcm2835_gpio_write(RPI_GPIO_P1_13, 0); bcm2835_gpio_write(RPI_GPIO_P1_13, 1); } the pin output was this: See Also http:\/\/codeandlife.com\/2012\/07\/03\/benchmarking-raspberry-pi-gpio-speed\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,23],"tags":[],"class_list":["post-391","post","type-post","status-publish","format-standard","hentry","category-io-pins","category-speed"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=391"}],"version-history":[{"count":9,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/391\/revisions"}],"predecessor-version":[{"id":1788,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/391\/revisions\/1788"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}