There are no subroutine calls
C++ seems terrible limiting in its structure for doing the programing easily
Why can't the Ardunio community come up with an easier to use compiler?
So I have to use custom functions as sub routines.
What is missing is a cookbook on the structure of C++ with complete programming templates.
00001d80 <main>: 1d80: 11 24 eor r1, r1 1d82: 84 b7 in r24, 0x34 ; 52 1d84: 14 be out 0x34, r1 ; 52 1d86: 81 ff sbrs r24, 1 1d88: 28 d1 rcall .+592 ; 0x1fda <appStart> 1d8a: 85 e0 ldi r24, 0x05 ; 5 1d8c: 8e bd out 0x2e, r24 ; 46 1d8e: 8e e0 ldi r24, 0x0E ; 14 1d90: 10 d1 rcall .+544 ; 0x1fb2 <watchdogConfig> 1d92: ba 9a sbi 0x17, 2 ; 23 1d94: c2 9a sbi 0x18, 2 ; 24 1d96: b9 9a sbi 0x17, 1 ; 23 1d98: 86 e0 ldi r24, 0x06 ; 6 1d9a: 28 e1 ldi r18, 0x18 ; 24 1d9c: 3e ef ldi r19, 0xFE ; 254 1d9e: 91 e0 ldi r25, 0x01 ; 1 1da0: 3d bd out 0x2d, r19 ; 45 1da2: 2c bd out 0x2c, r18 ; 44 1da4: 9b b9 out 0x0b, r25 ; 11 1da6: 58 9b sbis 0x0b, 0 ; 11 1da8: fe cf rjmp .-4 ; 0x1da6 <main+0x26> 1daa: b2 9a sbi 0x16, 2 ; 22 1dac: a8 95 wdr 1dae: 81 50 subi r24, 0x01 ; 1 1db0: b9 f7 brne .-18 ; 0x1da0 <main+0x20> 1db2: ee 24 eor r14, r14 1db4: ff 24 eor r15, r15
Why must the complier be in C or C++ or any higher level,
The syntax and form are a mystery in the details unless you are a C programmer
"Sketches" What happen to "Programs"
I admitted that I am no programmer and probably most who buy their Arduino (note I spelled it right this time, stupid Italians!) are not either. They sell the UNO at Radio Shack to kids who have NO experience programming at all.
Don't take the bait.
QuoteWhy can't the Ardunio community come up with an easier to use compiler?Because it is not an Arduino community compiler is is a standard compiler. In fact the Arduino community has come up with a way of making it very easy.