Find Jobs
Hire Freelancers

Arduino Question

$10-30 USD

Cancelado
Publicado há mais de 8 anos

$10-30 USD

Pago na entrega
I'm writing a code and I can't use a String as parameter of a function, the Arduino keeps resetting. /********** This is my original code thad do not works: **********/ [login to view URL](readLine("[login to view URL]", 1)); // calling the function String readLine(String fileName, unsigned int lineNum) { if (![login to view URL](fileName)) { [login to view URL]("- " + fileName + " do not exists!"); return ("FAILURE"); } [continue the code...] --------------------------------------------------------------------------------- /********** This code works:**********/ [login to view URL](readLine(1)); // calling the function String readLine(unsigned int lineNum) { if (![login to view URL]("[login to view URL]")) { [login to view URL]("- " + "[login to view URL]" + " do not exists!"); return ("FAILURE"); } [continue the code...] --------------------------------------------------------------------------------- Anyone to help me?
ID do Projeto: 8703371

Sobre o projeto

8 propostas
Projeto remoto
Ativo há 9 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
8 freelancers estão ofertando em média $24 USD for esse trabalho
Avatar do Usuário
hi bro i can help you please reply to discuss i am waiting for your reply regards
$44 USD em 1 dia
4,9 (121 avaliações)
7,4
7,4
Avatar do Usuário
Hello. There is several possible reasons, but for the final answer it's necessary to see the whole code. Also, a remote debugging (using TeamViewer) is the fastest way to check it. In the meantime, I see several places in your code which can cause such efect. The main reason, as I can see now, it's wide usage of "String" and lot of text ("i mean this") which can cause the very quickly than your device is out of RAM. The String() function is good when you need to write "hello world", but for larger projects it quickly causes lack of RAM (and usually this, in sequence, cause resets in very unexpected places). I can provide a cosultations and help in coding and propose changes in the code with some tricks and several handy functions. But I suppose such changes have to be applyied not only to this fragment of code. If you like - we can continue after creationg of the project and a single milestone deposite. Using of Skype and TeamViewer after that can make the whole process much more comfortable for the both sides. My bid includes 1-2 hours of work, think that's enough to fix all that moments. With best regards. Maxim
$30 USD em 0 dia
4,9 (100 avaliações)
5,9
5,9
Avatar do Usuário
I think you can replace the String type in the readLine method by char* Test this and tell me what happens
$25 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I have 3 years of experiance in developing codes for arduino. Have worked for three companies on embedded systems. Have worked on data logging applications using SD cards. I think I can help you in this regard. Thank you.
$12 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) BRAZIL
Valinhos, Brazil
4,8
29
Método de pagamento verificado
Membro desde jan. 22, 2014

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.