{"id":2910,"date":"2010-05-12T14:25:09","date_gmt":"2010-05-12T18:25:09","guid":{"rendered":"https:\/\/example.com\/?postname=first-ccs-compiled-program"},"modified":"2010-05-12T14:25:09","modified_gmt":"2010-05-12T18:25:09","slug":"first-ccs-compiled-program","status":"publish","type":"post","link":"http:\/\/atomsofttech.com\/blog\/uncategorized\/first-ccs-compiled-program\/","title":{"rendered":"First CCS Compiled Program"},"content":{"rendered":"<p>This is my first shot at using the CCS Compiler for PIC10F-18F MCUs \u2026. so far its nice and simple\u2026<br \/>\nHas tons of tools in it and is MPLAB compatible which is awesome!!!<\/p>\n<blockquote><p>#include &#8220;18F2525.h&#8221;<br \/>\n#fuses INTRC_IO,NOWDT,NOPROTECT,NOLVP<br \/>\n#use delay(clock=8000000)<\/p>\n<p>void main() {<br \/>\n    setup_oscillator(OSC_8MHZ);<\/p>\n<p>    set_tris_b(0);<br \/>\n    output_b(0);<\/p>\n<p>    while(TRUE) {<br \/>\n        output_high(PIN_B0);<br \/>\n        delay_ms(500);<br \/>\n        output_low(PIN_B0);<br \/>\n        delay_ms(500);<br \/>\n    }<br \/>\n}<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>This is my first shot at using the CCS Compiler for PIC10F-18F MCUs \u2026. so far its nice and simple\u2026 Has tons of tools in it and is MPLAB compatible which is awesome!!! #include &#8220;18F2525.h&#8221; #fuses INTRC_IO,NOWDT,NOPROTECT,NOLVP #use delay(clock=8000000) void main() { setup_oscillator(OSC_8MHZ); set_tris_b(0); output_b(0); while(TRUE) { output_high(PIN_B0); delay_ms(500); output_low(PIN_B0); delay_ms(500); } }<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2910","post","type-post","status-publish","format-standard","hentry"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/posts\/2910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/comments?post=2910"}],"version-history":[{"count":0,"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/posts\/2910\/revisions"}],"wp:attachment":[{"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/media?parent=2910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/categories?post=2910"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/atomsofttech.com\/blog\/wp-json\/wp\/v2\/tags?post=2910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}