Page 1 of 1

arduino. First step... error!

Posted: Fri Sep 18, 2015 2:19 pm
by mga
I just finished assembling and I connected the printer. I followed all the steps and connected the USB cable by selecting the COM port of the printer. I selected the tab "Arduino / Genuine Mega or Mega 2560" because I had no selection suggested by the instructions. Then I dragged the file and hit send on the tab "Configuration h" getting the following error:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
qr_solve.cpp:7:18: fatal error: time.h: No such file or directory
#include <time.h>
^
compilation terminated.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
can someone help me?

Re: arduino. First step... error!

Posted: Fri Sep 18, 2015 8:11 pm
by Mark
Try to use arduino 1.0.1, it has the time.h library.

Re: arduino. First step... error!

Posted: Fri Sep 18, 2015 8:28 pm
by mga
Thank you. Now go. I have to use the same version.
Can I change the language in some way or are there problems? I saw flags that show my tongue. If there were no conflicts would love to have it on display.
I am not at all clear is the initial adjustment. There are videos that show?
I do not understand how to assign the position 0 with the heads centered on the vertical axis. I do not understand how to adjust the maximum z and how to calibrate the probe axis x. Somehow I have to define a delta between the nozzle and the probe triggers when the switch so that it calculates the exact plan relative to the nozzle.

Re: arduino. First step... error!

Posted: Fri Sep 18, 2015 9:36 pm
by Mark
You can change the settings in language.h tab in the firmware, and re-install the firmware.
For the initial adjustment, you can see whether you can find it here:
https://www.youtube.com/results?search_ ... 8%E7%A5%A5

Re: arduino. First step... error!

Posted: Fri Sep 18, 2015 10:47 pm
by mga
I do not know what it's called the flag indicating why you cut the screenshot at the top where I could see where change but I do not know how to reinstall the firmware

Re: arduino. First step... error!

Posted: Sat Sep 19, 2015 5:12 pm
by Mark
You can find it in the tab language.h in your firmware. and refer to the link here to re-install the firmware:
http://www.geeetech.com/forum/viewtopic ... 20&t=16433

Re: arduino. First step... error!

Posted: Wed Sep 23, 2015 2:06 am
by mkinney
I'm having a similar issue with my Prusa I3 X except that my error message is:

In file included from Marlin.ino:8:0:
C:\Users\Michael\Documents\Arduino\libraries\Marlin/dogm_font_data_marlin.h:12:25: fatal error: utility/u8g.h: No such file or directory
#include <utility/u8g.h>
^
compilation terminated.
Error compiling.

Re: arduino. First step... error!

Posted: Thu Sep 24, 2015 6:07 pm
by Mark
You can refer to the information here:
For LCD12864
3.2.1 Check your arduino library folder, see if there is a library named U8glib. If not, download the marlin firmware and find the corresponding folder for your arduino version.
catalogue:\ArduinoAddons\Arduino_x.x.x\libraries
https://github.com/MarlinFirmware/Marlin
(refer to picture 1)
3.2.2 Restart your arduino and load the u8glib library:sketch>import library>u8glib
(refer to picture 2)
3.2.3 Reburn your firmware, and change the corresponding settings for LCD12864 in configuration.h tab.
Delete the “//” from "//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER":
Change the codes :

// The RepRapDiscount FULL GRAPHIC SmartController (quadratic white PCB)
//http://reprap.org/wiki/RepRapDiscount_F ... Controller
//
// ==> REMEMBER TO INSTALL U8glib toyour ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
//#defineREPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

to those ones:

// The RepRapDiscount FULL GRAPHIC SmartController (quadratic white PCB)
//http://reprap.org/wiki/RepRapDiscount_F ... Controller
//
// ==> REMEMBER TO INSTALL U8glib toyour ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
#defineREPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

3.2.4 Choose the language, open ”language.h” in the firmware, find the following codes and choose the corresponding one for yourself.
(refer to picture 3)