LegendaryLeonard 0 Posted October 14, 2014 Share Posted October 14, 2014 Hello, I am using the MSP-EXP430G2. I am trying to import the EEPROM library. I followed Rei Vilo's instructions on importing libraries; I created a Libraries folder inside the Energia folder and added an EEPROM folder inside of that. I then placed the EEPROM.h and EEPROM.cpp files inside that library. Yet I still have errors. Any tips? This is the error that I am getting: AppData\Local\Temp\build3798876326472216361.tmp\blinds.cpp.o] blinds.ino:2:22: fatal error: EEPROM.h: No such file or directory compilation terminated. Quote Link to post Share on other sites
energia 485 Posted October 15, 2014 Share Posted October 15, 2014 Where did that EEPROM library come from? Make sure that you restart Energia after you have added the library. Energia only scans for libraries on startup and when changing boards. Quote Link to post Share on other sites
serdarq 1 Posted April 24, 2016 Share Posted April 24, 2016 Generally speaking, here's the procedure to add a library to Energia: Define the folder for the sketchbook: menu Energia > Preferences > Sketchbook Location eg. ~/Documents/Energia or /users/name/Documents/Energia http://forum.43oh.com/index.php?app=core&module=attach§ion=attach&attach_rel_module=post&attach_id=1850'>Capture d Quote Link to post Share on other sites
Rei Vilo 695 Posted April 24, 2016 Share Posted April 24, 2016 Relaunch Energia. GIYF: http://www.arduino.cc/en/Guide/Libraries Quote Link to post Share on other sites
abecedarian 330 Posted April 27, 2016 Share Posted April 27, 2016 Relaunch Energia. GIYF: http://www.arduino.cc/en/Guide/Libraries I wonder if @@serdarq got your message? Quote Link to post Share on other sites
serdarq 1 Posted May 8, 2016 Share Posted May 8, 2016 Still nothing happened ! https://yadi.sk/i/FQJIScqGrZhSE https://yadi.sk/i/bYfMzfccrZhT7 help please! Quote Link to post Share on other sites
serdarq 1 Posted May 8, 2016 Share Posted May 8, 2016 and still keeps giving this error ! serialthermocouple.cpp:1:31: fatal error: Adafruit_MAX31855.h: No such file or directory #include <Adafruit_MAX31855.h> ^ compilation terminated. Quote Link to post Share on other sites
Fmilburn 446 Posted May 8, 2016 Share Posted May 8, 2016 Hi @@serdarq I presume you are trying to run an example that came with the library you are trying to install. Try this.... change #include <Adafruit_MAX31855.h> to #include "Adafruit_MAX31855.h" Using Sketch -> Add File... in the menu bar, add Adafruit_MAX31855.h. It should be in the folder just above the example. There is probably an Adafruit_MAX31855.cpp or other such files also. Add them if necessary too. Quote Link to post Share on other sites
serdarq 1 Posted May 11, 2016 Share Posted May 11, 2016 Thanks for your replies @@Fmilburn I have already done all of them the result is the same. Can it be because of the microprocessor ? Because the one I use is TM4C1294 Tiva series ? Quote Link to post Share on other sites
Fmilburn 446 Posted May 11, 2016 Share Posted May 11, 2016 @@serdarq It should work with the TMC1294 as it is supported by Energia, but I don't have one to test. Do you see the file Adafruit_MAX31855.h in a second tab inside the Energia IDE? Same with any .cpp files? It should look something like this: Quote Link to post Share on other sites
serdarq 1 Posted May 19, 2016 Share Posted May 19, 2016 @@Fmilburn, Thank you for ur great help. Now it compiled with no error, guess just i need to adapt arduino library for my tiva lpad. By the way I came accross one of ur post (the link is below) which says energia doesnt support Tiva series for multitasking. If that still continue, then I cant set my project which is measuring the room temperatre with adafruit and send it to the nokia 5110 lcd screen ? link: http://forum.43oh.com/topic/9373-energia-tm4c1294-multitasking/?p=71020 Quote Link to post Share on other sites
Fmilburn 446 Posted May 19, 2016 Share Posted May 19, 2016 Hi @@serdarq You don't need multitasking for the application you have described. It is unlikely you will need it when starting out. Quote Link to post Share on other sites
serdarq 1 Posted May 20, 2016 Share Posted May 20, 2016 @@Fmilburn but there are there task i need to fulfill which are: 1. get room temperature from adafruit 2. get real time from ds1307 3. send the time and temp. to nokia 5110 glcd so that is not multitasking ? Quote Link to post Share on other sites
Fmilburn 446 Posted May 20, 2016 Share Posted May 20, 2016 No, that is not multitasking. It is sequential, i.e. doing a series of things one after the other in the order you have described. One task after the other so to speak. Less than 1% of the examples you are likeky to encounter written in the Energia or Arduino environment will use a RTOS. You can find lots of references on this if interested. For those with a computing science background, please excuse my loose language. serdarq 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.