Skip to content

firmwareがコンパイルエラーになる #12

@kossie

Description

@kossie

LEDを消すことを行おうとして、ファームウェアの書き換えを行うとv3.0.0をダウンロードしました。
初めに何も変更せずにコンパイルを実行しようとしたところ以下のエラーが発生しました。
初心者なので初歩的なところの問題だと思うのですが、どうすればいいでしょうか?

OS:Mac OSX 10.12.13
arudino IDE: 1.0.6

This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.
Arduino: 1.0.6 (Mac OS X), Board: "Arduino Uno"
timer.c: In function 'timer_init':
timer.c:45: error: 'TCCR4B' undeclared (first use in this function)
timer.c:45: error: (Each undeclared identifier is reported only once
timer.c:45: error: for each function it appears in.)
timer.c:46: error: 'TCCR4A' undeclared (first use in this function)
timer.c:47: error: 'TCCR4C' undeclared (first use in this function)
timer.c:48: error: 'TCCR4D' undeclared (first use in this function)
timer.c:49: error: 'TCCR4E' undeclared (first use in this function)
timer.c:50: error: 'CS43' undeclared (first use in this function)
timer.c:50: error: 'PSR4' undeclared (first use in this function)
timer.c:53: error: 'OCR4C' undeclared (first use in this function)
timer.c: In function 'timer_start':
timer.c:59: error: 'TIFR4' undeclared (first use in this function)
timer.c:59: error: 'TOV4' undeclared (first use in this function)
timer.c:60: error: 'TCNT4' undeclared (first use in this function)
timer.c:61: error: 'TIMSK4' undeclared (first use in this function)
timer.c:61: error: 'TOIE4' undeclared (first use in this function)
timer.c: In function 'timer_stop':
timer.c:65: error: 'TIMSK4' undeclared (first use in this function)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions