Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MarlinKimbra
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
MarlinKimbra
Commits
d4f5f357
Commit
d4f5f357
authored
Jan 27, 2015
by
MagoKimbra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update bootsplash
parent
d4c0f633
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
18 deletions
+11
-18
Configuration.h
MarlinKimbra/Configuration.h
+6
-6
Marlin_main.cpp
MarlinKimbra/Marlin_main.cpp
+1
-3
dogm_lcd_implementation.h
MarlinKimbra/dogm_lcd_implementation.h
+4
-9
No files found.
MarlinKimbra/Configuration.h
View file @
d4f5f357
...
...
@@ -17,16 +17,16 @@
#define MOTHERBOARD BOARD_RAMPS_13_EFB
#endif
// User-specified version info of this build to display in
during startup.
//
Implementation of an idea by Prof Braino to inform user that any change
s
//
made to this
build by the user have been successfully uploaded into firmware.
#define STRING_VERSION "
v
4.0.2"
// User-specified version info of this build to display in
[Pronterface, etc] terminal window during
//
startup. Implementation of an idea by Prof Braino to inform user that any changes made to thi
s
// build by the user have been successfully uploaded into firmware.
#define STRING_VERSION "4.0.2"
#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
#define STRING_URL "reprap.org"
#define STRING_CONFIG_H_AUTHOR "(MagoKimbra: magokimbra@hotmail.com)" // Who made the changes.
#define STRING_SPLASH
STRING_VERSION " - " STRING_URL // will be shown during bootu
#define STRING_SPLASH
"v" STRING_VERSION " - " STRING_URL // will be shown during bootup
// S
elect
which serial port should be used for communication with the host.
// S
ERIAL_PORT selects
which serial port should be used for communication with the host.
// This allows the connection of wireless adapters (for instance) to non-default port pins.
// Serial port 0 is still used by the Arduino bootloader regardless of this setting.
#define SERIAL_PORT 0
...
...
MarlinKimbra/Marlin_main.cpp
View file @
d4f5f357
...
...
@@ -65,8 +65,6 @@
#include "firmware_test.h"
#endif
#define VERSION_STRING " 4.0.2"
// look here for descriptions of G-codes: http://linuxcnc.org/handbook/gcode/g-code.html
// http://objects.reprap.org/wiki/Mendel_User_Manual:_RepRapGCodes
...
...
@@ -672,7 +670,7 @@ void setup()
MCUSR
=
0
;
SERIAL_ECHOPGM
(
MSG_MARLIN
);
SERIAL_ECHOLNPGM
(
VERSION_STRING
);
SERIAL_ECHOLNPGM
(
STRING_VERSION
);
#ifdef STRING_VERSION_CONFIG_H
#ifdef STRING_CONFIG_H_AUTHOR
SERIAL_ECHO_START
;
...
...
MarlinKimbra/dogm_lcd_implementation.h
View file @
d4f5f357
...
...
@@ -117,18 +117,13 @@ static void lcd_implementation_init()
}
while
(
u8g
.
nextPage
());
// Show splashscreen
int
off
=
(
u8g
.
getWidth
()
-
START_BMPWIDTH
)
/
2
;
int
txtX
=
(
u8g
.
getWidth
()
-
sizeof
(
STRING_SPLASH
)
-
1
)
/
2
;
int
offx
=
(
u8g
.
getWidth
()
-
START_BMPWIDTH
)
/
2
;
int
offy
=
(
u8g
.
getHeight
()
-
18
-
START_BMPHEIGHT
)
/
2
;
int
txtX
=
(
u8g
.
getWidth
()
-
(
sizeof
(
STRING_SPLASH
)
-
1
)
*
5
)
/
2
;
// 5 is fontwidth in pixel
int
txtY
=
u8g
.
getHeight
()
-
10
;
u8g
.
firstPage
();
do
{
#ifdef START_BMPHIGH
u8g
.
drawBitmapP
(
off
,
off
,
START_BMPBYTEWIDTH
,
START_BMPHEIGHT
,
start_bmp
);
#else
u8g
.
setScale2x2
();
u8g
.
drawBitmapP
(
off
,
off
,
START_BMPBYTEWIDTH
,
START_BMPHEIGHT
,
start_bmp
);
u8g
.
undoScale
();
#endif
u8g
.
drawBitmapP
(
offx
,
offy
,
START_BMPBYTEWIDTH
,
START_BMPHEIGHT
,
start_bmp
);
u8g
.
setFont
(
u8g_font_5x8
);
u8g
.
drawStr
(
txtX
,
txtY
,
STRING_SPLASH
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment