Search found 2 matches
- Wed May 02, 2012 11:05 am
- Forum: NetBurner Software
- Topic: Unwanted delays after serial output - mod5282
- Replies: 1
- Views: 2054
Re: Unwanted delays after serial output - mod5282
Found the problem not 10 minutes after making the post. I wasn't rebuilding the system libraries fully. Increasing TICKS_PER_SECOND decreased the delay in OSUnlock.
- Tue May 01, 2012 12:41 pm
- Forum: NetBurner Software
- Topic: Unwanted delays after serial output - mod5282
- Replies: 1
- Views: 2054
Unwanted delays after serial output - mod5282
I'm having a bit of an issue where I get 40ms+ delay after using the NB libraries to write to the serial port.
Part of the relevant code:
sim.gpt[0].port = 0;
serwriteaddress(fd, 0xE5);
//No delay
serwriteaddress(fd, startAddress);
//40ms delay
for(uint16_t i = 0; i < modules.size(); i ...
Part of the relevant code:
sim.gpt[0].port = 0;
serwriteaddress(fd, 0xE5);
//No delay
serwriteaddress(fd, startAddress);
//40ms delay
for(uint16_t i = 0; i < modules.size(); i ...