Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
Posted: Tue Jan 10, 2012 5:05 pm
ANSWER:
yes it should be possible
but ONE of your problems is it keep repeating in the timer isr
Code:
STATIC int1 TX_armed=0; // set this to '1' elsewhere in your program when you
//have data you want to release on timer INT - this will enable it only
// ONCE and the send routine DISARMS the control flag when TX empty
// routine is done
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum