>>> To unsubscribe from this group and stop receiving emails from it, send an email to developers+unsubscribe@arduino.cc.
>
>
>--
>You received this message because you are subscribed to the Google Groups "Developers" group.
>To unsubscribe from this group and stop receiving emails from it, send an email to developers+unsubscribe@arduino.cc.
--
You received this message because you are subscribed to the Google Groups "Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to developers+unsubscribe@arduino.cc.
To unsubscribe from this group and stop receiving emails from it, send an email to developers+unsubscribe@arduino.cc.
--
You received this message because you are subscribed to the Google Groups "Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to developers+unsubscribe@arduino.cc.
To unsubscribe from this group and stop receiving emails from it, send an email to developers+...@arduino.cc.
Hi again
I did the following
and it made NO difference .. still no code for shp_type = (int) ship_type[i];
from
void simulate_poke(char xLocation, char yLocation, unsigned char symbol_char, boolean ship_type)
to
void simulate_poke(char xLocation, char yLocation, unsigned char symbol_char, boolean ship_types)
Please note I also had shp_type as unsigned char before I started to debug this strange problem.
I was thinking maybe the compiler had a problem of the switch variable being an unsigned char and change it
to a int. As to rule that as a problem.
I spent 2 day debugging this problem and removing code until I came up with this small but complete program that
still has that little problem which I submit for help/review as to show this problem.
What I'm trying to do use program space/code space to contain the table tables and not the RAM space.
I know the limits of my data and that's why I picked unsigned char as to help with memory space usage and speed of access the
memory locations.
You would think the compiler would either given a error or warning about shp_type variable being define both as a unsigned char and Boolean
data type.
-----Original Message-----
From: Paul Stoffregen
Matthijs
--
You received this message because you are subscribed to the Google Groups "Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to developers+unsubscribe@arduino.cc.