I'm writing the code for my Arduino board using Code::Blocks editor. When I create a new project, there is AVR Project and Arduino Project under Projects category. Which one do I select?
-
@chrisl - This looks like an answer. Please make it an answer. Comments on questions are for clarifying the question. To "answer" like this make the SE software think no-one has answered.Nick Gammon– Nick Gammon ♦2020年09月17日 07:28:37 +00:00Commented Sep 17, 2020 at 7:28
1 Answer 1
You can select, what you want. If you want to build an Arduino Project, you should choose "Arduino Project". If you don't want to use the Arduino Framework, you can choose "AVR Project".
answered Sep 17, 2020 at 7:31
-
how do I set the path to
arduino.h
and other headers?Nederealm– Nederealm2020年09月17日 08:10:06 +00:00Commented Sep 17, 2020 at 8:10 -
Under project build options, Arduino UNO (which is the version I have) I can see my path is set to
$(ARDUINO_DIR)\libraries
but isnt compilingNederealm– Nederealm2020年09月17日 08:20:19 +00:00Commented Sep 17, 2020 at 8:20
default