How can I get rid of the SparkFun logo on boot?

General MicroView Support area - You have questions, find your answers here.

Moderators: phalanx, Help@GeekAmmo, marcus@geekammo

Post Reply
Rob Farrell
Posts: 2
Joined: Tue Oct 21, 2014 7:23 am

How can I get rid of the SparkFun logo on boot?

Post by Rob Farrell » Tue Oct 21, 2014 7:26 am

I realize this is in the boot loader. I'm having trouble finding the source for the microview boot loader. Can someone point me to it?

TS-Liz
Posts: 29
Joined: Wed Jul 16, 2014 9:33 am

Re: How can I get rid of the SparkFun logo on boot?

Post by TS-Liz » Tue Oct 21, 2014 12:27 pm

Hello,

The Microview bootloader is the Optiboot bootloader, the same as the Arduino Uno. There are instructions for uploading a bootloader to the MicroView here https://learn.sparkfun.com/tutorials/in ... -microview
Happy hacking!

scotta
Posts: 45
Joined: Thu Jul 24, 2014 1:31 pm
Location: Toronto, Canada

Re: How can I get rid of the SparkFun logo on boot?

Post by scotta » Wed Oct 22, 2014 6:20 am

The logo isn't in the boot loader. It's in the MicoView library.

In file MicroView.cpp find the following line near the beginning (line 60 or close to it):

Code: Select all

static uint8_t screenmemory [] = {
Change it to:

Code: Select all

static uint8_t screenmemory [LCDWIDTH * LCDPAGES];
Then delete all the following lines containing the initialisation data, up to and including (line 114 or close to it):

Code: Select all

};
Note that if you're not concerned about saving about 390 bytes of program space, just doing a uView.clear(PAGE) immediately after uView.begin() will clear the screen buffer and prevent the logo from being displayed.

Rob Farrell
Posts: 2
Joined: Tue Oct 21, 2014 7:23 am

Re: How can I get rid of the SparkFun logo on boot?

Post by Rob Farrell » Wed Oct 22, 2014 7:28 am

Awesome! Great suggestions and details!
Thanks!

Post Reply