Type in the full discussion title or a part of it.
Discussion Title Created date
how many ms of delay do I need for 74HC595 shift register bit-banging?
Hey all, I have this routine for sending a byte to 74hc595: void shift_register_sendByte(uint8_t data){ // shift_register is 74hc595 for(uint8_t i = 8; i > 0; --i...
Saturday, 21 August 2021 - 12:57
Is there some kind of MACRO magic to overload = in C? (not c++ :( )
Hey all, I wonder if there is some MACRO magic for overloading the assignment operator in C (without using the C subset of C++) What I'm after is: I basically want a function to...
Thursday, 12 August 2021 - 13:15
When a button is pressed, how long is it typically held down? (debouncing question)
Hey all, I'm trying to read a 4x4 matrix keypad and want to eliminate bounce effects on the keys. What I currently do (simulated, for now, I will try real hardware tomorrow) is I...
Tuesday, 10 August 2021 - 21:25
Need MACRO accepting a block of code ( the block should start with { and end in } )
Hey everyone. I kind of happened to fancy some way of executing specific constant commands before and after a block of code. It's kind of hard to explain so let me demonstrate...
Friday, 16 July 2021 - 12:39
Getting FR_NOT_READY when trying FatFS on real hardware (MCU = atmega32a)
Hey all. Yes I'm the guy who got FatFS working in the simulation just yesterday( or was it this morning? ) It's driving me crazy that I can't get a library that "just works" to...
Sunday, 11 July 2021 - 17:29
I'm going to use FatFS for the first time. Is there anything in particular I should be aware of?
I'm going to use FatFS for the very first time. (MCU = Atmega32A) Wish me luck :) Is there anything in particular that you think I should know?
Friday, 9 July 2021 - 04:09
Need help configuring ViM extenstion YouCompleteMe for avr-gcc development
Dear all, I happen to be the kind of person who enjoys vim a lot and I came across a great extension for auto-completion named YouCompleteMe. However, I am still new to this and...
Saturday, 3 July 2021 - 09:34
EEPROM variable reset to default value after MCU restart
Hey all. I have a problem where the variable stored in EEPROM does not retain its value across MCU restarts. I will post my code below hoping you could spot my error. (I am...
Saturday, 9 January 2021 - 19:53
Need example program implementing sha256 or keccak of the avr-crypto-lib
Hey everyone. I'm working on a program in which I need to store a 16-byte (17 including the last '\0') password to EEPROM. I want not to store it as plain text but to hash it. I...
Sunday, 23 June 2019 - 03:10