Welcome! Log In Create A New Profile

Advanced

confused smileyerror: expected initializer before 'digipot_init'

Posted by Floowsen 
confused smileyerror: expected initializer before 'digipot_init'
November 03, 2016 05:04AM
Hello everbody,

does someone knows how i get this error out of my arduino sketch?

Thanks for help!!

Edited 1 time(s). Last edit at 11/03/2016 06:01PM by Floowsen.
Attachments:
open | download - error digiport init.jpg (149.2 KB)
Re: confused smileyerror: expected initializer before 'digipot_init'
November 07, 2016 09:24PM
well only part of code is showing somewhere the digipot needs to be declared as a variable or constant of some type ie int float double unless it is part of some library you didn't include this is a new function being created but the first two lines should say int digipot_init the next line the same int ste....
Re: confused smileyerror: expected initializer before 'digipot_init'
November 08, 2016 08:04AM
what version of marlin is that ?

my latest rc7 looks different to that and compiles ok.
Sorry, only registered users may post in this forum.

Click here to login