Interrupt Vector Setup OK after further reading, and it not working. I have added two more lines.
EICRA = 0x03; // Enable interrupt to trigger on rising edge
EIFR...
Tuesday, 12 January 2016 - 18:24
Interrupt Vector Setup Ok thanks.
One last question, do I have to set what level the interrupt will trigger. I want it to fire from logic low to high. So on logic high the interrupt...
Tuesday, 12 January 2016 - 18:01
Interrupt Vector Setup Hi Clawson,
Thanks for your help. Yes I found that code as an example then tried to edit for my processor but I was getting errors. Also it is for PA7/ PCINT7...
Tuesday, 12 January 2016 - 17:47
I2C initialisaton Hi Dave,
Thanks for your input.
I have it running now. My next task is to print an int16. My current print is int8. I will have a think how I can...
Monday, 7 December 2015 - 21:27
I2C initialisaton David,
The first line of your above post is INCORRECT. I do not understand the terminology of the below paragraph. I currently have included the .c and .h files and...
Monday, 7 December 2015 - 20:04
I2C initialisaton Hi,
OK I have fully read the HTML doc, and I guessed I have to add the .s file into my project. I have added the .s file the same way I would add the .c and .h files...
Sunday, 6 December 2015 - 16:11
I2C initialisaton Hi,
I have taken Davids advice and downloaded the I2C libary. I have added the i2cmaster.h and twinmaster.c files to my project, but I am unsure if I should add the...
Friday, 4 December 2015 - 19:07
I2C initialisaton I think I have found my problem. I have been trying to convert the Arduino Short Example Sketch code on this link http://playground.arduino.cc/Mai... over to my...
Friday, 4 December 2015 - 10:53
I2C initialisaton Hi,
Thanks for your help LDPKananDethin. I am just waiting for some 4k7 resistor to turn up before I get back into the code.
Kartman, how many years have you...
Thursday, 3 December 2015 - 20:21
UART1 speed error JS,
Thanks you so much, that has sorted it now. I would of never worked that out. The only change is the BODLEVEL does not work at 4.3V, I switched it back to...
Thursday, 26 November 2015 - 20:12
UART1 speed error Ok so i transposed your formula and 25.0416 comes out as 9600.025 which is correct. So yes 23 was wrong. I miss read the datasheet.
On the fuse setting I am...
Thanks for your detailed explanation Clawson. Tuurbo46.
OK after further reading, and it not working. I have added two more lines. EICRA = 0x03; // Enable interrupt to trigger on rising edge EIFR...
Ok thanks. One last question, do I have to set what level the interrupt will trigger. I want it to fire from logic low to high. So on logic high the interrupt...
Hi Clawson, Thanks for your help. Yes I found that code as an example then tried to edit for my processor but I was getting errors. Also it is for PA7/ PCINT7...
Hi Dave, Thanks for your input. I have it running now. My next task is to print an int16. My current print is int8. I will have a think how I can...
David, The first line of your above post is INCORRECT. I do not understand the terminology of the below paragraph. I currently have included the .c and .h files and...
Hi, OK I have fully read the HTML doc, and I guessed I have to add the .s file into my project. I have added the .s file the same way I would add the .c and .h files...
Hi, I have taken Davids advice and downloaded the I2C libary. I have added the i2cmaster.h and twinmaster.c files to my project, but I am unsure if I should add the...
I think I have found my problem. I have been trying to convert the Arduino Short Example Sketch code on this link http://playground.arduino.cc/Mai... over to my...
Hi, Thanks for your help LDPKananDethin. I am just waiting for some 4k7 resistor to turn up before I get back into the code. Kartman, how many years have you...
JS, Thanks you so much, that has sorted it now. I would of never worked that out. The only change is the BODLEVEL does not work at 4.3V, I switched it back to...
Ok so i transposed your formula and 25.0416 comes out as 9600.025 which is correct. So yes 23 was wrong. I miss read the datasheet. On the fuse setting I am...
Pages