lokale Variable ecio-40,18f8722
Posted: Tue Dec 30, 2008 10:37 am
Hallo Benj
a long time i work on a new problem vor me:
inside a macro,if i work with e.g.:
RS_out.rs_out = RS_out.rs_out OR 0b00001000
RS_out.rs_out = RS_out.rs_out AND 0b11110111
output to pord d
Macro end
it works ok in flowcode simulation (with all 8 bits), but not if i download it to my board with 18f8722
the thame with ecio-40
inside a macro,if i work with e.g.:
rs_out_port = rs_out_port OR 0b00001000
rs_out_port = rs_out_port AND 0b11110111
output to pord d
Macro end
it work also on my board and ecio-40
the only difference for me : first i use a lokale variable ; second i use a globale variable
what going wrong?
Regards wolfgang
a long time i work on a new problem vor me:
inside a macro,if i work with e.g.:
RS_out.rs_out = RS_out.rs_out OR 0b00001000
RS_out.rs_out = RS_out.rs_out AND 0b11110111
output to pord d
Macro end
it works ok in flowcode simulation (with all 8 bits), but not if i download it to my board with 18f8722
the thame with ecio-40
inside a macro,if i work with e.g.:
rs_out_port = rs_out_port OR 0b00001000
rs_out_port = rs_out_port AND 0b11110111
output to pord d
Macro end
it work also on my board and ecio-40
the only difference for me : first i use a lokale variable ; second i use a globale variable
what going wrong?
Regards wolfgang