Arduino NG or older ATmega168¶
Hardware¶
Platform Atmel AVR: Atmel AVR 8- and 32-bit MCUs deliver a unique combination of performance, power efficiency and design flexibility. Optimized to speed time to market-and easily adapt to new ones-they are based on the industrys most code-efficient architecture for C and assembly programming.
Microcontroller | ATMEGA168 |
Frequency | 16MHz |
Flash | 14KB |
RAM | 1KB |
Vendor | Arduino |
Configuration¶
Please use atmegangatmega168
ID for board option in “platformio.ini” (Project Configuration File):
[env:atmegangatmega168]
platform = atmelavr
board = atmegangatmega168
You can override default Arduino NG or older ATmega168 settings per build environment using
board_***
option, where ***
is a JSON object path from
board manifest atmegangatmega168.json. For example,
board_build.mcu
, board_build.f_cpu
, etc.
[env:atmegangatmega168]
platform = atmelavr
board = atmegangatmega168
; change microcontroller
board_build.mcu = atmega168
; change MCU frequency
board_build.f_cpu = 16000000L
Debugging¶
PIO Unified Debugger currently does not support Arduino NG or older ATmega168 board.
Frameworks¶
Name | Description |
---|---|
Arduino | Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences. |