Enhancement #798

get all the library inti's and functions to behave

Added by Brad Neuman about 5 years ago. Updated about 4 years ago.

Status:AssignedStart date:10/21/2009
Priority:NormalDue date:
Assignee:Brad Neuman% Done:


Target version:-


multiple init calls should not cause undefined behavior

Related issues

Related to Colony - Bug #562: Fix init functions Duplicate 09/04/2009
Blocked by Colony - Bug #790: XBee/Wireless Initialization Assigned 10/19/2009


#1 Updated by Brad Neuman about 5 years ago

  • % Done changed from 0 to 30

Still need to deal with orbs, they are complicated because there are multiple init states.

Also, need to figure out a consistent way to deal with funciton like usb_getc which return a char

#2 Updated by Brad Neuman about 5 years ago

not doing lcd, since we don't have one

#3 Updated by Brad Neuman about 5 years ago

can't fix:

Also, need to get orbs working and then have buzzer / orbs fail if hte other is inited

#4 Updated by Brad Neuman about 5 years ago

cant do analog8 or analog10 either, need to think about these

#5 Updated by David Schultz about 5 years ago

Multiple xbee init works if you call terminate at end of use before initing again. Otherwise it will get stuck in an infinite loop waiting for a response that won't come. We should probably make the call return an error if it waits for over a second with no response.

What's the problem with usb_getc?

#6 Updated by David Schultz almost 5 years ago

  • Category set to Library

#7 Updated by Alex Zirbel about 4 years ago

  • Priority changed from High to Normal

Brad, is this still an issue?

Also available in: Atom PDF