Post Created date
Variable Wont Change
Thanks, that is really useful information.
Tuesday, 7 January 2014 - 11:53
Variable Wont Change
christop wrote:I would also suggest de-duplicating your code. You have four large blocks of code that are nearly identical which can be reduced to one instance with a little bit...
Monday, 6 January 2014 - 23:08
Variable Wont Change
I have kind of fixed the issue. I decided to leave the bug alone for now and continue with the code. When I wrote the next case, the BVALUE[3] case works normally, without the...
Monday, 6 January 2014 - 19:27
Variable Wont Change
Ok, they are not ISR. The first function is what BVALUE is actually used for. I don´t think this has anything to do with it as this function is called from main() and main isnÂ...
Sunday, 5 January 2014 - 19:43
Variable Wont Change
2 ways, firstly I have BVALUE[3] displayed on an LED display. Secondly I am using the debugger with a breakpoint set on the line after the if statement. With BVALUE[3] set, the...
Sunday, 5 January 2014 - 17:14
Variable Wont Change
I´ll be honest, that I don´t have a clue what the ISS file does or what any of it means. I had a look and I think I have posted the relevant bits. The ISS is almost 8500 lines...
Sunday, 5 January 2014 - 16:56
Variable Wont Change
No, that is the actual code I have copied and pasted from Atmel Studio 6. The first section of code that i said didn't work is the original code and the other examples are...
Sunday, 5 January 2014 - 15:48
Should I use PWM instead?
Thanks it works now. I didn´t know you could use OC0RB like that, I though A and B were separate, so that´s good to know. I have just one more bug to find then it´s working...
Monday, 3 June 2013 - 11:41
JohanEkdahl wrote:A Google of "C pointers tutorial" seems to give a lot.. Correct, and as I said in my first post, I couldn't grasp it. If I looked again now, I probably would...
Saturday, 4 May 2013 - 22:09
Thank you for taking the time to write all of that. I need to read it through a few more times to digest it all, but I think that it makes sense now. Thanks again, I do...
Saturday, 4 May 2013 - 16:11
Brutte, I am sorry but I don´t understand word of what you have said. Thanks though. Thanks for your patience, I think I get it now. *str holds the location of one value which...
Saturday, 4 May 2013 - 14:11
Sorry for being so thick, but I think it is starting to sink in a bit. Quote: The usefulness of pointers is that you can programmatically change what you are referencing without...
Saturday, 4 May 2013 - 09:16