Skip to content

Error when trying to build the NixieCode in AtmelStudio6.1 #1

@FlorianPix

Description

@FlorianPix

I built a NixieClock with your instructable but cant write code to the ATMega328P.
What I did is install AtmelStudio6.1, open your project connecting the ARCELI Atmel BEI AVRISP mkii XPII AVR ISP mk2 USB AVRISP-In-System-Programmer and then try to build the solution.

Error 1 #error "F_CPU not defined!"
C:\Users\Florian Pix\Documents\Programme\NixieCode\NixieCode\millis.c 16 3 NixieCode
Error 2 #error "Bad F_CPU setting (<256 or >=32640000)"
C:\Users\Florian Pix\Documents\Programme\NixieCode\NixieCode\millis.c 20 3 NixieCode
Error 3 'F_CPU' undeclared (first use in this function)
C:\Users\Florian Pix\Documents\Programme\NixieCode\NixieCode\millis.c 121 14 NixieCode

What am I doing wrong ? I am new to Microcontroller programming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions