Post Created date
Problem with clock accuracy.
most people making clocks use a 32.768khz watch crystal if they want accuracy. It's temperature and vibration stable, AND divides nicely into seconds.   A standard crystal...
Friday, 7 August 2015 - 18:16
a better way of receiving data through UART
real firmware uses interrupts and a ringbuffer :) Then getchar return false if the rb is empty
Friday, 7 August 2015 - 18:04
code space saving tricks.
First I didn't see any mention of profiling or code analysis. I just see a swag as to where the code is being used. Second a function that is called 100 times uses the same space...
Friday, 7 August 2015 - 17:59
Global Array defined within a function
If you need to determine memory allocation at run time you HAVE to malloc. Otherwise you make an array of structs that can hold any type and off you go.   The struct would...
Wednesday, 8 April 2015 - 17:50
Atmega162 interfacing with Xbee which sometimes transmits some time dont.
this is your own PCB design? what does your power supply look like? An Xbee pro will draw 250miliamps during transmit.   Do you have a scope to look at your signal levels?...
Monday, 6 April 2015 - 21:38
GSM modem questions
We just had these guys intoday; https://www.nimbelink.com/   Certified modems no PTCRB required. Plug into an XBee socket   You still need to talk to it of course and...
Thursday, 2 April 2015 - 14:17
I2c Porting from Arduino
Makes sense. I was just following the examples. I've gotten away for a long time without using i2c, time to learn it I guess!   The address fix did it, thanks!
Friday, 27 March 2015 - 03:48
I2c Porting from Arduino
Gah! 1 dang bit   Well cool, I hope it's that simple.   Interesting about the start_wait(), not crashing is always better :)
Thursday, 26 March 2015 - 20:47
What does this statement mean...
awneil wrote: But embedding the assignment inside the 'if' clause is entirely pointless.   There is absolutely no advantage whatsoever over writing   res =...
Monday, 23 March 2015 - 14:42
Can I put class/struct objects in PROGMEM?
in C++ a struct IS a class, except it's public by default whereas a class is private. Just use a class please???   you have the cart way ahead of the horse. Use some white...
Wednesday, 18 March 2015 - 19:35
What does this statement mean...
1. the return value from is_acc_abs_angle_x()is assigned to res 2. if res ( and the return value), does not equal zero  (!= 0 )     then assign 60 to angle.x
Wednesday, 18 March 2015 - 19:24
Small modifications in source code, big differences in the final result
don't forget buffer overflow problems
Monday, 16 March 2015 - 18:40

Pages