Uart or Console

Firmware/software/electronics/mechanics
overdrivr
Beginner
Posts: 10
Joined: Thu Jun 27, 2013 7:14 pm

Re: Uart or Console

Post by overdrivr »

Any feedback on the code ? Maybe you did not see my last response because I edited it, sorry :$
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Uart or Console

Post by marcus »

overdrivr wrote:Any feedback on the code ? Maybe you did not see my last response because I edited it, sorry :$
Sorry about the late answer..vacation :-) I'll have a look at the files.
rocktober
Beginner
Posts: 1
Joined: Sun Aug 11, 2013 3:27 pm

Re: Uart or Console

Post by rocktober »

I was working on logging some custom variables as well. I got it working after realizing the logging section of the wiki is misleading. I used the code in the "Simple Code Example" section (http://wiki.bitcraze.se/projects:crazyf ... tils:pylib)

For example, in your code,

Code: Select all

newLogPacket
addCallback
startLogging()
should be

Code: Select all

create_log_packet
add_callback
start()
Post Reply