Post Created date
Accessing structs with byte pointer
This is a test program but should demonstrate how to do;   #include <avr/io.h> void writePageOfBytes(uint32_t, const uint8_t*, uint16_t); //Machine Vars For Save/...
Sunday, 15 October 2017 - 19:13
Generating 150hz Square Wave Signal
As others have stated there are many ways to skin a cat but with a MCU it's easier to modify the code than to rebuild a circuit if something changes.
Monday, 27 March 2017 - 14:18
Output is inverted?
Just turn the oscope over!  Easy Peasy
Sunday, 26 March 2017 - 15:40
ATtiny1617 launch AVRFreaks give away...
I'm in I vote for the night light!
Wednesday, 22 March 2017 - 12:37
What to buy when getting started with Arduino
The thing about Logic Analyzers is not the hardware, that can be bought cheap/inexpensive but  the software that comes with it makes all the difference in the world. I've had...
Monday, 20 March 2017 - 16:36
avr-c++ C++14 support
google is your friend http://unix.stackexchange.com/questions/265668/g-doesnt-recognize-standard-14-std-c14
Monday, 19 December 2016 - 14:16
function inside struct in c
Paulvdh wrote:In the most extreme form of OOP everything becomes an object. Even something such as an integer, which used to be nothing more than a number. I've been experimenting...
Friday, 16 December 2016 - 14:33
function inside struct in c
I'm with clawson, not only for the simplicity and elegance aspects but modularity and reusability among other features of the language.
Friday, 16 December 2016 - 13:29
function inside struct in c
clawson wrote: Mike,    But that isn't putting the function in the structure? All that is doing is putting a 16 bit function pointer placeholder which at the point of...
Thursday, 15 December 2016 - 21:14
function inside struct in c
If you absolutely must use functions in a struct;   struct someStruct { int someInt; int (*foo)(int param); }; int foo(int param) { //Code...
Thursday, 15 December 2016 - 20:14
CHRISTmas Autoprogrammer Giveaway - enter here for your chance!
I'm in!   And thanks for doing this!
Sunday, 11 December 2016 - 14:00
Add string to array dynamically
Only 2 ways to do it 1) Allocate enough RAM at beginning to accommodate all names 2) malloc as you go, using a table of pointers, linked list, etc..
Sunday, 4 December 2016 - 17:18

Pages