Post Created date
Error in gcc 5.4.0
SprinterSB, what exactly construction __asm ("" : "+r" (psfior)); mean? An empty asm construction should not produce any code, but it is needed in this case.
Thursday, 9 February 2017 - 15:12
Error in gcc 5.4.0
Thank You SprinterSB! My code compiles again. From my point of view theme is closed. Thanks for all who want to help.
Thursday, 9 February 2017 - 14:56
Error in gcc 5.4.0
theusch wrote:Does the compiler still resolve to the SBI if you "force" it to do the volatile read? SFIOR = SFIOR | stuff; This does not change anything. The result assembler code...
Thursday, 9 February 2017 - 14:49
Error in gcc 5.4.0
The c compiler should not report any errors from the assembler, I think. In my opinion if there is any error in source code, it should be found and reported by the compiler itself...
Thursday, 9 February 2017 - 14:38
A good AVRdude gui for ubuntu?
Under Windows I use AVRDUDESS. Under Linux I use my own text based pseudo gui written in awk. It works in text console and don't use any additional libraries. For my needs this is...
Wednesday, 8 February 2017 - 14:05
C formatter
Eclipse has autoformatter with predefined main styles and possibility to change each rule.
Tuesday, 31 January 2017 - 10:29
Reviewing Your Code
Good article. I review in mind my typical coding style and pass this test with one weak point: I have problems with code complexity. Some time ago I found that in my area of...
Friday, 27 January 2017 - 19:41
Is it possible to change only 1 bit in a register in just 1 instruction?
There are two assembler instructions that allow to change single bit in register: CBI and SBI. They work only for registers with address less than 0x20. GCC use it when this is...
Tuesday, 24 January 2017 - 05:31
Adding GPS tracking
The GPS tracking usually use two devices: GPS receiver and GSM modem. If You don't want to use specialised device for tracking, You must read actual position from GPS and send it...
Wednesday, 30 November 2016 - 14:16
Arduino Uno Project Tutorials..
The L293 need external diodes, but almost identical L293D no. We use several thousands of it and never has problems with lack of additional external diodes.
Monday, 14 November 2016 - 06:59
Max voltage level with 0.1V Resolution; 10 bit adc
Resolution and accuracy are two different things. In any case accuracy is lesser than resolution. You can use 16 bit converter and have accuracy less than 10%. A small difference...
Thursday, 6 October 2016 - 09:58
Choosing Temprature Sensor
Pt100 or pt1000.
Sunday, 11 September 2016 - 18:26

Pages