Type in the full discussion title or a part of it.
Discussion Title Created date
atmega328 SIG_INTERRUPT0 vs int0
I'm working with v-usb and there is this tidbit. /* The following configurations have working defaults in usbdrv.h. You * usually don't need to set them explicitly. Only if you...
Tue. Aug 21, 2018 - 01:03 PM
I'm confused with sbi cbi commands?
I'm trying to add some debug to my ASM and wanted to see it on a scope. So I simply used   sbi PORTB,2;//debug and cbi PORTB,2;//debug   But I only see one condition not...
Sun. Jul 29, 2018 - 07:11 PM
Setting a flag in ASM
I want to set a simple global flag in ASM but I'm struggling to make it work.   In my S file I have   an include to my global var (_SOF_Flag)   I did this  ....
Sun. Jul 15, 2018 - 08:55 PM
How to know if an interrupted fired.
If I set an int. then loop, how can I check if the int. fired?   EIMSK |= (1 << INT0); //enable interrupt. Dostuff(){}; if (x) {//int fired }      
Wed. Jul 11, 2018 - 02:15 AM
Confused about program space increasing.
I have a smell function for my SPI   static char spi_mSend ( char data) { SPDR = data; while(!(SPSR & (1<<SPIF))); _delay_us(100); return SPDR; }...
Sat. Jul 7, 2018 - 03:56 PM
using twi for the apple desktop bus.
I currently bit bang (fixed for awneil) the ADB but with some struggle in c, I was going to convert to ASM. Before I do I wanted to try the TWI and see if that does not help...
Mon. Jul 2, 2018 - 02:20 PM
why does the update_block not work?
Can't seem to figure this out. the first line work, the second does not.   for (char e = 0;e<24;e++)    eeprom_update_byte(33+e,mapper[e] );//works, saves...
Wed. Jun 27, 2018 - 12:43 AM
Help with nRF24L01+ datasheet
Using this sheet https://www.sparkfun.com/datashe...   I'm trying to figure out two things.   1) There is a section on timing but I'm a bit confused what SPI Clock rate...
Tue. Jun 26, 2018 - 04:52 PM
interrupt free spi communication.?
The typical communication of an spi as I understand it  looks like this.          SPDR = data; // Load data     while...
Fri. Jun 22, 2018 - 04:54 PM
interfacing with usb (FT232R)
I have an application where I want to interface with usb device. That is to say, read usb in to a mega chip. I'd like not to do the work on the mega chip and instead use another...
Tue. Jun 19, 2018 - 10:53 AM
will using eeprom_update_block be more efficient?
I have a few lines of code where I do something like this   for (char e = 0;e<24;e++)    eeprom_update_byte(33+e,mapper[e] );  I was reading up on the...
Wed. May 23, 2018 - 03:06 AM
memory allocation question.
I'm cretin there is no way to achieve this but figured I had better ask. I have a situation where I will be sending data to a computer via USB. I'm using an atmega 328 with a usb...
Sat. May 19, 2018 - 06:55 PM

Pages