Comments (16)
When uncommenting FEATURE_4_BIT_LCD_DISPLAY in rotator_features.h to make my display work I then get a dump of errors. I've been ignoring them but I want an error free compile, see attached the dump, can you have a look please Anthony.
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino: In function 'char* idle_status()':
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:3289:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
return("");
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino: In function 'void initialize_display()':
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
k3ngdisplay.print_center_timed_message("\x4B\x33\x4E\x47","\x52\x6F\x74\x6F\x72\x20\x43\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72",CODE_VERSION,SPLASH_SCREEN_TIME);
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Sketch uses 28,912 bytes (89%) of program storage space. Maximum is 32,256 bytes.
Global variables use 1,921 bytes (93%) of dynamic memory, leaving 127 bytes for local variables. Maximum is 2,048 bytes.
Low memory available, stability problems may occur.
from k3ng_rotator_controller.
You can ignore compiler warnings. They won't affect the performance or
operation of the keyer. However, the compiler noted you're low on local
variable memory. As it mentions, you may have stability problems (i.e.
crashes, unexpected stuff happening). You should reduce the feature set or
upsize to a Mega.
On Sun, Jul 3, 2016 at 12:44 AM, VBColdie [email protected] wrote:
When uncommenting FEATURE_4_BIT_LCD_DISPLAY in rotator_features.h to make
my display work I then get a dump of errors. I've been ignoring them but I
want an error free compile, see attached the dump, can you have a look
please Anthony.C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'char* idle_status()':C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:3289:12:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]return("");
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'void initialize_display()':C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]k3ngdisplay.print_center_timed_message("\x4B\x33\x4E\x47","\x52\x6F\x74\x6F\x72\x20\x43\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72",CODE_VERSION,SPLASH_SCREEN_TIME);
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]Sketch uses 28,912 bytes (89%) of program storage space. Maximum is 32,256
bytes.
Global variables use 1,921 bytes (93%) of dynamic memory, leaving 127
bytes for local variables. Maximum is 2,048 bytes.
Low memory available, stability problems may occur.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ADLacHSwoSHQSFyUeVZvLaDH80GiqIxYks5qR0wjgaJpZM4JDzu7
.
from k3ng_rotator_controller.
Anthony, firsty let me say that I really appreciate your help and feedback
to my questions. But I need to bring to your attention a problem that I
haven't explained properly. When I compile with 4_BIT_LCD_DISPLAY
uncommented in "rotator_features.h" I get the the following:
Sketch uses 25,596 bytes (79%) of program storage space. Maximum is 32,256
bytes.
Global variables use 1,351 bytes (65%) of dynamic memory, leaving 697 bytes
for local variables. Maximum is 2,048 bytes.
No errors, no problems,
But as for the dump I sent you before, the only change is to comment that
feature, and is the ONLY change made to the file, yet that's when I get the
error messages about the lack of memory. So just letting you know it goes
beyond not only the compile errors, it then sucks the memory up! Maybe you
could simulate what I'm saying and see for yourself.
Thank again,
Colin.
On Mon, Jul 4, 2016 at 10:34 PM, Anthony Good [email protected]
wrote:
You can ignore compiler warnings. They won't affect the performance or
operation of the keyer. However, the compiler noted you're low on local
variable memory. As it mentions, you may have stability problems (i.e.
crashes, unexpected stuff happening). You should reduce the feature set or
upsize to a Mega.On Sun, Jul 3, 2016 at 12:44 AM, VBColdie [email protected]
wrote:When uncommenting FEATURE_4_BIT_LCD_DISPLAY in rotator_features.h to make
my display work I then get a dump of errors. I've been ignoring them but
I
want an error free compile, see attached the dump, can you have a look
please Anthony.C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'char* idle_status()':C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:3289:12:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]return("");
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'void initialize_display()':C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]k3ngdisplay.print_center_timed_message("\x4B\x33\x4E\x47","\x52\x6F\x74\x6F\x72\x20\x43\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72",CODE_VERSION,SPLASH_SCREEN_TIME);
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]Sketch uses 28,912 bytes (89%) of program storage space. Maximum is
32,256
bytes.
Global variables use 1,921 bytes (93%) of dynamic memory, leaving 127
bytes for local variables. Maximum is 2,048 bytes.
Low memory available, stability problems may occur.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
#28 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ADLacHSwoSHQSFyUeVZvLaDH80GiqIxYks5qR0wjgaJpZM4JDzu7.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATPxWyK9kYR97ASpRioVvm5GUr8wftp3ks5qSP3fgaJpZM4JDzu7
.
from k3ng_rotator_controller.
So with 4_BIT_LCD_DISPLAY uncommented you get the error message about
memory, and with it commented out you don't?
On Tue, Jul 5, 2016 at 5:18 AM, VBColdie [email protected] wrote:
Anthony, firsty let me say that I really appreciate your help and feedback
to my questions. But I need to bring to your attention a problem that I
haven't explained properly. When I compile with 4_BIT_LCD_DISPLAY
uncommented in "rotator_features.h" I get the the following:
Sketch uses 25,596 bytes (79%) of program storage space. Maximum is 32,256
bytes.
Global variables use 1,351 bytes (65%) of dynamic memory, leaving 697 bytes
for local variables. Maximum is 2,048 bytes.
No errors, no problems,
But as for the dump I sent you before, the only change is to comment that
feature, and is the ONLY change made to the file, yet that's when I get the
error messages about the lack of memory. So just letting you know it goes
beyond not only the compile errors, it then sucks the memory up! Maybe you
could simulate what I'm saying and see for yourself.
Thank again,
Colin.On Mon, Jul 4, 2016 at 10:34 PM, Anthony Good [email protected]
wrote:You can ignore compiler warnings. They won't affect the performance or
operation of the keyer. However, the compiler noted you're low on local
variable memory. As it mentions, you may have stability problems (i.e.
crashes, unexpected stuff happening). You should reduce the feature set
or
upsize to a Mega.On Sun, Jul 3, 2016 at 12:44 AM, VBColdie [email protected]
wrote:When uncommenting FEATURE_4_BIT_LCD_DISPLAY in rotator_features.h to
make
my display work I then get a dump of errors. I've been ignoring them
but
I
want an error free compile, see attached the dump, can you have a look
please Anthony.C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'char* idle_status()':
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:3289:12:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]return("");
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'void initialize_display()':
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]k3ngdisplay.print_center_timed_message("\x4B\x33\x4E\x47","\x52\x6F\x74\x6F\x72\x20\x43\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72",CODE_VERSION,SPLASH_SCREEN_TIME);
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]Sketch uses 28,912 bytes (89%) of program storage space. Maximum is
32,256
bytes.
Global variables use 1,921 bytes (93%) of dynamic memory, leaving 127
bytes for local variables. Maximum is 2,048 bytes.
Low memory available, stability problems may occur.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ADLacHSwoSHQSFyUeVZvLaDH80GiqIxYks5qR0wjgaJpZM4JDzu7
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
#28 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ATPxWyK9kYR97ASpRioVvm5GUr8wftp3ks5qSP3fgaJpZM4JDzu7.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ADLacJGexaoC3B4LNOEUJ00o06-vlMgNks5qSiF7gaJpZM4JDzu7
.
from k3ng_rotator_controller.
Exactly mate, and it is only a matter of // on that one line !
On Tue, Jul 5, 2016 at 9:01 PM, Anthony Good [email protected]
wrote:
So with 4_BIT_LCD_DISPLAY uncommented you get the error message about
memory, and with it commented out you don't?On Tue, Jul 5, 2016 at 5:18 AM, VBColdie [email protected] wrote:
Anthony, firsty let me say that I really appreciate your help and
feedback
to my questions. But I need to bring to your attention a problem that I
haven't explained properly. When I compile with 4_BIT_LCD_DISPLAY
uncommented in "rotator_features.h" I get the the following:
Sketch uses 25,596 bytes (79%) of program storage space. Maximum is
32,256
bytes.
Global variables use 1,351 bytes (65%) of dynamic memory, leaving 697
bytes
for local variables. Maximum is 2,048 bytes.
No errors, no problems,
But as for the dump I sent you before, the only change is to comment that
feature, and is the ONLY change made to the file, yet that's when I get
the
error messages about the lack of memory. So just letting you know it goes
beyond not only the compile errors, it then sucks the memory up! Maybe
you
could simulate what I'm saying and see for yourself.
Thank again,
Colin.On Mon, Jul 4, 2016 at 10:34 PM, Anthony Good [email protected]
wrote:You can ignore compiler warnings. They won't affect the performance or
operation of the keyer. However, the compiler noted you're low on local
variable memory. As it mentions, you may have stability problems (i.e.
crashes, unexpected stuff happening). You should reduce the feature set
or
upsize to a Mega.On Sun, Jul 3, 2016 at 12:44 AM, VBColdie [email protected]
wrote:When uncommenting FEATURE_4_BIT_LCD_DISPLAY in rotator_features.h to
make
my display work I then get a dump of errors. I've been ignoring them
but
I
want an error free compile, see attached the dump, can you have a
look
please Anthony.C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'char* idle_status()':
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:3289:12:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]return("");
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'void initialize_display()':
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]k3ngdisplay.print_center_timed_message("\x4B\x33\x4E\x47","\x52\x6F\x74\x6F\x72\x20\x43\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72",CODE_VERSION,SPLASH_SCREEN_TIME);
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]Sketch uses 28,912 bytes (89%) of program storage space. Maximum is
32,256
bytes.
Global variables use 1,921 bytes (93%) of dynamic memory, leaving 127
bytes for local variables. Maximum is 2,048 bytes.
Low memory available, stability problems may occur.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ADLacHSwoSHQSFyUeVZvLaDH80GiqIxYks5qR0wjgaJpZM4JDzu7
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ATPxWyK9kYR97ASpRioVvm5GUr8wftp3ks5qSP3fgaJpZM4JDzu7
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
#28 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ADLacJGexaoC3B4LNOEUJ00o06-vlMgNks5qSiF7gaJpZM4JDzu7.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATPxW6WGdi1CDuukNdQoH0RE0SkjxHV9ks5qSjmLgaJpZM4JDzu7
.
from k3ng_rotator_controller.
That's a feature, not a bug :-) When you uncomment that line, a whole
bunch more code gets compiled. More functionality, more code, less memory
free.... (The compiler warnings aren't chewing up the memory)
On Tue, Jul 5, 2016 at 7:38 AM, VBColdie [email protected] wrote:
Exactly mate, and it is only a matter of // on that one line !
On Tue, Jul 5, 2016 at 9:01 PM, Anthony Good [email protected]
wrote:
So with 4_BIT_LCD_DISPLAY uncommented you get the error message about
memory, and with it commented out you don't?On Tue, Jul 5, 2016 at 5:18 AM, VBColdie [email protected]
wrote:Anthony, firsty let me say that I really appreciate your help and
feedback
to my questions. But I need to bring to your attention a problem that I
haven't explained properly. When I compile with 4_BIT_LCD_DISPLAY
uncommented in "rotator_features.h" I get the the following:
Sketch uses 25,596 bytes (79%) of program storage space. Maximum is
32,256
bytes.
Global variables use 1,351 bytes (65%) of dynamic memory, leaving 697
bytes
for local variables. Maximum is 2,048 bytes.
No errors, no problems,
But as for the dump I sent you before, the only change is to comment
that
feature, and is the ONLY change made to the file, yet that's when I get
the
error messages about the lack of memory. So just letting you know it
goes
beyond not only the compile errors, it then sucks the memory up! Maybe
you
could simulate what I'm saying and see for yourself.
Thank again,
Colin.On Mon, Jul 4, 2016 at 10:34 PM, Anthony Good <
[email protected]>
wrote:You can ignore compiler warnings. They won't affect the performance
or
operation of the keyer. However, the compiler noted you're low on
local
variable memory. As it mentions, you may have stability problems
(i.e.
crashes, unexpected stuff happening). You should reduce the feature
set
or
upsize to a Mega.On Sun, Jul 3, 2016 at 12:44 AM, VBColdie [email protected]
wrote:When uncommenting FEATURE_4_BIT_LCD_DISPLAY in rotator_features.h
to
make
my display work I then get a dump of errors. I've been ignoring
them
but
I
want an error free compile, see attached the dump, can you have a
look
please Anthony.C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'char* idle_status()':
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:3289:12:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]return("");
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'void initialize_display()':
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]k3ngdisplay.print_center_timed_message("\x4B\x33\x4E\x47","\x52\x6F\x74\x6F\x72\x20\x43\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72",CODE_VERSION,SPLASH_SCREEN_TIME);
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]Sketch uses 28,912 bytes (89%) of program storage space. Maximum is
32,256
bytes.
Global variables use 1,921 bytes (93%) of dynamic memory, leaving
127
bytes for local variables. Maximum is 2,048 bytes.
Low memory available, stability problems may occur.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ADLacHSwoSHQSFyUeVZvLaDH80GiqIxYks5qR0wjgaJpZM4JDzu7
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ATPxWyK9kYR97ASpRioVvm5GUr8wftp3ks5qSP3fgaJpZM4JDzu7
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ADLacJGexaoC3B4LNOEUJ00o06-vlMgNks5qSiF7gaJpZM4JDzu7
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
#28 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ATPxW6WGdi1CDuukNdQoH0RE0SkjxHV9ks5qSjmLgaJpZM4JDzu7.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ADLacMahgmw_ffnR8lCCNelIsBFLR_34ks5qSkJHgaJpZM4JDzu7
.
from k3ng_rotator_controller.
So please clarify your statement " (The compiler warnings aren't chewing up
the memory) " I don't understand mate. Are you saying that one should
upgrade from a UNO to a MEGA just to support that extra functionality?
I've ordered a later model display with buttons incorporated so I'll wait
to see what happens with it before I get to worried, because I'm hoping
that it will work without having to uncomment that line and see what
happens. For your information I have a long development road ahead of me
before I get my project sorted and i'll be inevitably bugging you now and
again, but rest assured when I've finished my final design I'm sure
you'll appreciate my input (hopefully), but please don't be upset with me
for bugging you, everyone needs someone to turn to for support when needed,
and who better to turn to than the author :) Thanks again Anthony.
Sent with MailTrack
https://mailtrack.io/install?source=signature&lang=en&[email protected]&idSignature=22
On Tue, Jul 5, 2016 at 10:03 PM, Anthony Good [email protected]
wrote:
That's a feature, not a bug :-) When you uncomment that line, a whole
bunch more code gets compiled. More functionality, more code, less memory
free.... (The compiler warnings aren't chewing up the memory)On Tue, Jul 5, 2016 at 7:38 AM, VBColdie [email protected] wrote:
Exactly mate, and it is only a matter of // on that one line !
On Tue, Jul 5, 2016 at 9:01 PM, Anthony Good [email protected]
wrote:
So with 4_BIT_LCD_DISPLAY uncommented you get the error message about
memory, and with it commented out you don't?On Tue, Jul 5, 2016 at 5:18 AM, VBColdie [email protected]
wrote:Anthony, firsty let me say that I really appreciate your help and
feedback
to my questions. But I need to bring to your attention a problem
that I
haven't explained properly. When I compile with 4_BIT_LCD_DISPLAY
uncommented in "rotator_features.h" I get the the following:
Sketch uses 25,596 bytes (79%) of program storage space. Maximum is
32,256
bytes.
Global variables use 1,351 bytes (65%) of dynamic memory, leaving 697
bytes
for local variables. Maximum is 2,048 bytes.
No errors, no problems,
But as for the dump I sent you before, the only change is to comment
that
feature, and is the ONLY change made to the file, yet that's when I
get
the
error messages about the lack of memory. So just letting you know it
goes
beyond not only the compile errors, it then sucks the memory up!
Maybe
you
could simulate what I'm saying and see for yourself.
Thank again,
Colin.On Mon, Jul 4, 2016 at 10:34 PM, Anthony Good <
[email protected]>
wrote:You can ignore compiler warnings. They won't affect the performance
or
operation of the keyer. However, the compiler noted you're low on
local
variable memory. As it mentions, you may have stability problems
(i.e.
crashes, unexpected stuff happening). You should reduce the feature
set
or
upsize to a Mega.On Sun, Jul 3, 2016 at 12:44 AM, VBColdie <
[email protected]>
wrote:When uncommenting FEATURE_4_BIT_LCD_DISPLAY in rotator_features.h
to
make
my display work I then get a dump of errors. I've been ignoring
them
but
I
want an error free compile, see attached the dump, can you have a
look
please Anthony.C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'char* idle_status()':
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:3289:12:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]return("");
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'void initialize_display()':
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]k3ngdisplay.print_center_timed_message("\x4B\x33\x4E\x47","\x52\x6F\x74\x6F\x72\x20\x43\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72",CODE_VERSION,SPLASH_SCREEN_TIME);
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]Sketch uses 28,912 bytes (89%) of program storage space. Maximum
is
32,256
bytes.
Global variables use 1,921 bytes (93%) of dynamic memory, leaving
127
bytes for local variables. Maximum is 2,048 bytes.
Low memory available, stability problems may occur.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ADLacHSwoSHQSFyUeVZvLaDH80GiqIxYks5qR0wjgaJpZM4JDzu7
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ATPxWyK9kYR97ASpRioVvm5GUr8wftp3ks5qSP3fgaJpZM4JDzu7
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ADLacJGexaoC3B4LNOEUJ00o06-vlMgNks5qSiF7gaJpZM4JDzu7
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ATPxW6WGdi1CDuukNdQoH0RE0SkjxHV9ks5qSjmLgaJpZM4JDzu7
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
#28 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ADLacMahgmw_ffnR8lCCNelIsBFLR_34ks5qSkJHgaJpZM4JDzu7.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATPxW6tS6OmziHXqjQQlu3_c812_babyks5qSkf8gaJpZM4JDzu7
.
from k3ng_rotator_controller.
Yes. In general I recommend using a Mega. It's hard to stuff all the
functionality into an Uno.
On Tue, Jul 5, 2016 at 8:19 AM, VBColdie [email protected] wrote:
So please clarify your statement " (The compiler warnings aren't chewing up
the memory) " I don't understand mate. Are you saying that one should
upgrade from a UNO to a MEGA just to support that extra functionality?
I've ordered a later model display with buttons incorporated so I'll wait
to see what happens with it before I get to worried, because I'm hoping
that it will work without having to uncomment that line and see what
happens. For your information I have a long development road ahead of me
before I get my project sorted and i'll be inevitably bugging you now and
again, but rest assured when I've finished my final design I'm sure
you'll appreciate my input (hopefully), but please don't be upset with me
for bugging you, everyone needs someone to turn to for support when needed,
and who better to turn to than the author :) Thanks again Anthony.Sent with MailTrack
<
https://mailtrack.io/install?source=signature&lang=en&[email protected]&idSignature=22On Tue, Jul 5, 2016 at 10:03 PM, Anthony Good [email protected]
wrote:
That's a feature, not a bug :-) When you uncomment that line, a whole
bunch more code gets compiled. More functionality, more code, less memory
free.... (The compiler warnings aren't chewing up the memory)On Tue, Jul 5, 2016 at 7:38 AM, VBColdie [email protected]
wrote:Exactly mate, and it is only a matter of // on that one line !
On Tue, Jul 5, 2016 at 9:01 PM, Anthony Good <[email protected]
wrote:
So with 4_BIT_LCD_DISPLAY uncommented you get the error message about
memory, and with it commented out you don't?On Tue, Jul 5, 2016 at 5:18 AM, VBColdie [email protected]
wrote:Anthony, firsty let me say that I really appreciate your help and
feedback
to my questions. But I need to bring to your attention a problem
that I
haven't explained properly. When I compile with 4_BIT_LCD_DISPLAY
uncommented in "rotator_features.h" I get the the following:
Sketch uses 25,596 bytes (79%) of program storage space. Maximum is
32,256
bytes.
Global variables use 1,351 bytes (65%) of dynamic memory, leaving
697
bytes
for local variables. Maximum is 2,048 bytes.
No errors, no problems,
But as for the dump I sent you before, the only change is to
comment
that
feature, and is the ONLY change made to the file, yet that's when I
get
the
error messages about the lack of memory. So just letting you know
it
goes
beyond not only the compile errors, it then sucks the memory up!
Maybe
you
could simulate what I'm saying and see for yourself.
Thank again,
Colin.On Mon, Jul 4, 2016 at 10:34 PM, Anthony Good <
[email protected]>
wrote:You can ignore compiler warnings. They won't affect the
performance
or
operation of the keyer. However, the compiler noted you're low on
local
variable memory. As it mentions, you may have stability problems
(i.e.
crashes, unexpected stuff happening). You should reduce the
feature
set
or
upsize to a Mega.On Sun, Jul 3, 2016 at 12:44 AM, VBColdie <
[email protected]>
wrote:When uncommenting FEATURE_4_BIT_LCD_DISPLAY in
rotator_features.h
to
make
my display work I then get a dump of errors. I've been ignoring
them
but
I
want an error free compile, see attached the dump, can you
have a
look
please Anthony.C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'char* idle_status()':
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:3289:12:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]return("");
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:
In function 'void initialize_display()':
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]k3ngdisplay.print_center_timed_message("\x4B\x33\x4E\x47","\x52\x6F\x74\x6F\x72\x20\x43\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72",CODE_VERSION,SPLASH_SCREEN_TIME);
^
C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]C:\Users\COLINC~1\AppData\Local\Temp\arduino_modified_sketch_357901\k3ng_rotator_controller.ino:6696:163:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]Sketch uses 28,912 bytes (89%) of program storage space.
Maximum
is
32,256
bytes.
Global variables use 1,921 bytes (93%) of dynamic memory,
leaving
127
bytes for local variables. Maximum is 2,048 bytes.
Low memory available, stability problems may occur.—
You are receiving this because you are subscribed to this
thread.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ADLacHSwoSHQSFyUeVZvLaDH80GiqIxYks5qR0wjgaJpZM4JDzu7
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ATPxWyK9kYR97ASpRioVvm5GUr8wftp3ks5qSP3fgaJpZM4JDzu7
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ADLacJGexaoC3B4LNOEUJ00o06-vlMgNks5qSiF7gaJpZM4JDzu7
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ATPxW6WGdi1CDuukNdQoH0RE0SkjxHV9ks5qSjmLgaJpZM4JDzu7
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<,
or mute the thread
<https://github.com/notifications/unsubscribe/ADLacMahgmw_ffnR8lCCNelIsBFLR_34ks5qSkJHgaJpZM4JDzu7
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
#28 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ATPxW6tS6OmziHXqjQQlu3_c812_babyks5qSkf8gaJpZM4JDzu7.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ADLacKjaT2U0xa_LVtIYGsL3oOgfXdANks5qSkvlgaJpZM4JDzu7
.
from k3ng_rotator_controller.
I don't know if it will be helpful or not, but you can look at my fork here as an example of fitting into a smaller memory footprint; I'm able to get most of the functionality to fit in a cheap, Uno SMD clone which has the smaller memory footprint: https://github.com/somewhere-or-other/k3ng_rotator_controller/tree/n7byu_azel_settings
If you do use that one as a starting place, be aware that I'm using an I2C, 4x20 char display, among other things.
When you're dealing with the smaller memory footprint, it is possible to make it work, but it's a bit of a balancing act. For example, if I want to add the debugging code, or the GPS code, or the sun/moon tracking code, I'd have to eliminate something to make room.
Anthony is right. If you're doing something more difficult, needs more functionality, etc., you'd be better off to get something with a bigger memory footprint like a Mega or a Due.
(Edited to point to specific branch, since the master is even with Anthony's)
from k3ng_rotator_controller.
Thanks heaps mate for the info, I've only just begun my Arduino learning
curve and any info I can get helps, cheers.
On Wed, Jul 6, 2016 at 7:51 AM, somewhere-or-other <[email protected]
wrote:
I don't know if it will be helpful or not, but you can look at my fork
here as an example of fitting into a smaller memory footprint; I'm able to
get most of the functionality to fit in a cheap, Uno SMD clone which has
the smaller memory footprint:
https://github.com/somewhere-or-other/k3ng_rotator_controllerIf you do use that one as a starting place, be aware that I'm using an
I2C, 4x20 char display, among other things.When you're dealing with the smaller memory footprint, it is possible to
make it work, but it's a bit of a balancing act. For example, if I want to
add the debugging code, or the GPS code, or the sun/moon tracking code, I'd
have to eliminate something to make room.Anthony is right. If you're doing something more difficult, needs more
functionality, etc., you'd be better off to get something with a bigger
memory footprint like a Mega or a Due.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATPxW29wdAkFcmB5uTgOvHKt9HjztfHTks5qStHSgaJpZM4JDzu7
.
from k3ng_rotator_controller.
Note that I edited my earlier comment, to point to a specific branch. Originally I just pointed to the master branch, which is in sync with Anthony's master. Sorry for the confusion, but if you're just going off the emailed link, it might not be that helpful.
from k3ng_rotator_controller.
Yes now I'm confused (can't see any edit) could you post me the link please.
On Wed, Jul 6, 2016 at 8:59 AM, somewhere-or-other <[email protected]
wrote:
Note that I edited my earlier comment, to point to a specific branch.
Originally I just pointed to the master branch, which is in sync with
Anthony's master. Sorry for the confusion, but if you're just going off the
emailed link, it might not be that helpful.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATPxW2VkqBzzTX2szqleNqjxO8NlQVyLks5qSuHHgaJpZM4JDzu7
.
from k3ng_rotator_controller.
https://github.com/somewhere-or-other/k3ng_rotator_controller/tree/n7byu_azel_settings
from k3ng_rotator_controller.
Hi again, can you tell me why I get the following error when trying to
compile your version of this software when you can clearly see the file in
the directory tree (see attached screen shot) please.
Arduino: 1.6.9 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Program Files
(x86)\Arduino\k3ng_rotator_controller-n7byu_azel_settings\k3ng_rotator_controller\k3ng_rotator_controller.ino:504:30:
fatal error: rotator_hardware.h: No such file or directory
#include "rotator_hardware.h"
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
On Wed, Jul 6, 2016 at 11:09 AM, somewhere-or-other <
[email protected]> wrote:
https://github.com/somewhere-or-other/k3ng_rotator_controller/tree/n7byu_azel_settings
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATPxW2GIrwXo3KahO_9OtitAZ2Rl77yoks5qSwA7gaJpZM4JDzu7
.
from k3ng_rotator_controller.
I have no idea. Are both the "rotator_features.h" and the "k3ng_rotator_controller.ino" files still there in the "C:\Program Files (x86)\Arduino\k3ng_rotator_controller-n7byu_azel_settings\k3ng_rotator_controller" directory?
from k3ng_rotator_controller.
The program forces ("k3ng_rotator_controller.ino") into a subdirectory in
the file tree, tried taking it out of the subdirectory but it forces it
back into a subdirectory!
Sent with MailTrack
https://mailtrack.io/install?source=signature&lang=en&[email protected]&idSignature=22
On Sat, Jul 9, 2016 at 12:14 PM, somewhere-or-other <
[email protected]> wrote:
I have no idea. Are both the "rotator_features.h" and the
"k3ng_rotator_controller.ino" files still there in the "C:\Program Files
(x86)\Arduino\k3ng_rotator_controller-n7byu_azel_settings\k3ng_rotator_controller"
directory?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATPxW7kAnFExZW0Jk0lZj2omLd1rHcB8ks5qTwQLgaJpZM4JDzu7
.
from k3ng_rotator_controller.
Related Issues (20)
- Rotor Controller
- Oops! That page can’t be found.
- Fatal error: EEPROM.h: No such file or directory HOT 1
- Sketch too big - text section exceeds available space in board HOT 2
- Support for TMC2209 / TMC 5160 spi / uart mode drivers
- Preset potentiometer bug
- Feature request "Go To" HOT 4
- Problem Integrating GY-NEO-6M with K3NG Rotator Controller HOT 2
- Feature request: support for a PCA9555 I2C I/O expander
- feature request: support for Picoborg reverse and Diablo motor control boards
- Ham Radio Deluxe & Yaesu G-1000DXC HOT 1
- Run on blind rotator
- Position Pulse input on Slave unit
- K3NG Rotator Controller
- How to get the basic setting for Azimuth possition configured using the Yaesu GS-232A/B with simple potentiometer HOT 1
- Accurate Calibration HOT 4
- PstRotator only turns right
- Arduino EVERY
- RemoteQTH K3NG V3.3 Rotator Controller
- Relay control in pstrotator az+el
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k3ng_rotator_controller.