arduino. First step... error!

Post Reply
mga
Posts: 20
Joined: Wed Sep 09, 2015 8:36 pm

arduino. First step... error!

Post 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?
Mark
Posts: 1553
Joined: Thu Aug 06, 2015 9:19 am

Re: arduino. First step... error!

Post by Mark »

Try to use arduino 1.0.1, it has the time.h library.
mga
Posts: 20
Joined: Wed Sep 09, 2015 8:36 pm

Re: arduino. First step... error!

Post 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.
Mark
Posts: 1553
Joined: Thu Aug 06, 2015 9:19 am

Re: arduino. First step... error!

Post 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
Attachments
QQ截图20150918212612.png
QQ截图20150918212612.png (117.94 KiB) Viewed 15064 times
mga
Posts: 20
Joined: Wed Sep 09, 2015 8:36 pm

Re: arduino. First step... error!

Post 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
Mark
Posts: 1553
Joined: Thu Aug 06, 2015 9:19 am

Re: arduino. First step... error!

Post 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
mkinney
Posts: 2
Joined: Sat Sep 19, 2015 2:27 am

Re: arduino. First step... error!

Post 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.
Mark
Posts: 1553
Joined: Thu Aug 06, 2015 9:19 am

Re: arduino. First step... error!

Post 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)
Attachments
picture 3
picture 3
Catch0682.jpg (66.75 KiB) Viewed 14980 times
picture 2
picture 2
CatchEB64.jpg (99.42 KiB) Viewed 14980 times
picture 1
picture 1
QQ截图20150924180520.jpg (309.05 KiB) Viewed 14980 times
Post Reply