Please tell me what is wrong with this code. It was cut and pasted from:https://www.arduino.cc/en/Tutorial/CurieTimer1PWM?action=sourceblock&num=1Code: [Select](snip)
Thank you BJHenry,The motors are of the type presented by: http://www.kinematicsmfg.com/ They are 24VDC bidirectional motors, driving gear boxes, with up to 156,000:1 gear box reduction ratios. The sizes range from LARGE to HUMONGOUS. The ATmega 328P Microcontroller will do a fine job controlling them. All of the PMW circuits will be utilized, plus some others. Outputs 10 and 11 will be for West and Up directions, respectively. Circuits 3, 5, 6, and 9 are for North, East, South and West respectively. These will be active, only by the inputs of circuits A1, A2, A3, and A4. (The different numbers are because of the differing circuit characteristics), and can be further adjusted. This will drive the motors for less than one platform revolution per day. See the attachment for a representation. The outputs will encompass diodes to prevent voltage back-feed from the manual push-buttons. One additional circuit will park the motor in the east, at full speed, when day ends.One additional circuit will override the 'down' circuit to keep the unit in sunshine. The LEDS are for troubleshooting purposes.
Thanks BJHenry,Re: What makes you think there is something wrong with this code? It will not complie; gives this message- "Error compiling for board Arduino/Genuino" Error status 1.
Do you refer to hardware, or software- everything '101' that I find refers to hardware?