maple serial on Android?

Post here first, or if you can't find a relevant section!
User avatar
BennehBoy
Posts: 500
Joined: Thu Jan 05, 2017 8:21 pm
Location: Yorkshire
Contact:

Re: maple serial on Android?

Post by BennehBoy » Sun Jan 28, 2018 12:55 pm

ag123 wrote:
Sun Jan 28, 2018 3:50 am
unfortunately sd fat actually tries to scream on the serial console at initialization if it can't connect to the sd card, yup it is useful as quite a number of times i forget to insert the sd card :lol:

Code: Select all

	// Initialize at the highest speed supported by the board that is
	// not over 50 MHz. Try a lower speed if SPI errors occur.
	if (!sd.begin(chipSelect, SD_SCK_MHZ(50))) {
		sd.initErrorHalt();
	}
Only if you choose to use the sdfat error handling - I do my own. But yes, point taken.
-------------------------------------
https://github.com/BennehBoy

User avatar
RogerClark
Posts: 7680
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: maple serial on Android?

Post by RogerClark » Sun Jan 28, 2018 8:37 pm

ag123 wrote:
Sun Jan 28, 2018 3:50 am

unfortunately sd fat actually tries to scream on the serial console at initialization if it can't connect to the sd card, yup it is useful as quite a number of times i forget to insert the sd card :lol:
I think that library is not alone, but perhaps someone should ask the author to make some changes,

Post Reply