Post Created date
ftoa for gcc AVR32
Your printfloat code works wonderfully. The only issue I'm having is that zeros after the decimal point don't seem to be displayed. For example, I tried printfloat(0.00123,4) and...
Monday, 9 March 2015 - 02:28
Secure Digital card SPI
I got it working, the first table is correct for both a normal SD card and a microSD card adapter.
Wednesday, 9 April 2014 - 22:54
Secure Digital card SPI
I'm sorry I'm still confused. On a normal SD card pin 1 is CS for SPI on a microsd card, if you look at my pics, it says that pin1 is not connected and that pin 2 on a normal sd...
Wednesday, 19 February 2014 - 10:59
Secure Digital card SPI
That's where I got my information from. However, the person soldered 7 pins onto the microSD to stanadard SD adapter. They were later corrected in the comments because the had the...
Wednesday, 19 February 2014 - 09:32
SPI programming
Oh, then it is useful to learn the concept if it does that. I put a jumper on MISO and MOSI and nothing happens.
Friday, 14 February 2014 - 23:35
Timer interrupts ATMega32 [solved: logic issue]
It works, thank you!
Thursday, 30 January 2014 - 05:52
Timer interrupts ATMega32 [solved: logic issue]
This how I toggle pin 0 on PORTA in another program: while(1) { if(bit_is_clear(PINB,0)) { PORTA ^= 1<<PINA0; _delay_ms(250); } } Is there a way to toggle flag?...
Thursday, 30 January 2014 - 05:28
Timer interrupts ATMega32 [solved: logic issue]
Umm, whoops! You are right, I inadvertently coded it to do that. How would I code it to stay on once pressed and released and turn off when pressed and released again?
Thursday, 30 January 2014 - 05:10
Timer interrupts ATMega32 [solved: logic issue]
Hmm, still same problem.
Thursday, 30 January 2014 - 04:02
Four digit 7 segment display
So if I were to do this: int main() { check button delay 250ms } timerinterrupt //every 5ms { } Would the timer interrupt have priority over the delay? So I press the...
Thursday, 30 January 2014 - 00:52
Four digit 7 segment display
I said I was mutliplexing. Obviously if I'm switching between digits every 5ms to give the illusion to the human eye that all four digits are on simultaneously turned on and I...
Tuesday, 28 January 2014 - 12:18
Four digit 7 segment display
Ok so I've used else and an unsigned char. But the original problem remains, how do I switch between two different things being displayed?
Tuesday, 28 January 2014 - 11:56