{"id":124,"date":"2014-04-14T13:12:47","date_gmt":"2014-04-14T13:12:47","guid":{"rendered":"https:\/\/arduino-developer.com\/arduino\/?p=124"},"modified":"2019-05-23T17:10:31","modified_gmt":"2019-05-23T17:10:31","slug":"errors","status":"publish","type":"post","link":"https:\/\/arduino-developer.com\/arduino\/ide\/arduino-ide\/errors","title":{"rendered":"Errors"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Upload timeout &#8211;&nbsp;avrdude: stk500v2_getsync(): timeout communicating with programmer <\/h4>\n\n\n\n<p>This error will occur if the TX1 or RX1&nbsp;pins are being driven by something else, blocking the programming comms. &nbsp;If you are using UART0 for something which&nbsp;is driving the RX pin then disconnect it to allow programming to occur. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">&#8216;Wire&#8217; was not declared in this scope <\/h4>\n\n\n\n<p>If you are using libraries like Wire in your own .c files or library then you need to include Wire.h both in your library (where you&#8217;re using the things it defines) and in your main sketch (which tells the IDE to include its folder in the search path for includes during compilation and to link in its .c \/ .cpp files). <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">request for member in something not a structure or union<\/h4>\n\n\n\n<p>Is your file names .c instead of .cpp and you are including a c++ library or some other c++ thing in it?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Upload timeout &#8211;&nbsp;avrdude: stk500v2_getsync(): timeout communicating with programmer This error will occur if the TX1 or RX1&nbsp;pins are being driven by something else, blocking the programming comms. &nbsp;If you are using UART0 for something which&nbsp;is driving the RX pin then disconnect it to allow programming to occur. &#8216;Wire&#8217; was not declared in this scope If [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-124","post","type-post","status-publish","format-standard","hentry","category-arduino-ide"],"_links":{"self":[{"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/posts\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/comments?post=124"}],"version-history":[{"count":4,"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/posts\/124\/revisions"}],"predecessor-version":[{"id":473,"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/posts\/124\/revisions\/473"}],"wp:attachment":[{"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/media?parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/categories?post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/tags?post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}