Platform Atmel megaAVR: 8-bit MCUs Built for Real-time Control with Core Independent Peripherals combining intelligent hardware peripherals along with the low-power capability of an AVR core, megaAVR microcontrollers (MCUs) broaden the effectiveness of your real-time control systems.
Microcontroller |
ATTINY402 |
Frequency |
16MHz |
Flash |
4KB |
RAM |
256B |
Vendor |
Please use ATtiny402
ID for board option in “platformio.ini” (Project Configuration File):
[env:ATtiny402]
platform = atmelmegaavr
board = ATtiny402
You can override default ATtiny402 settings per build environment using
board_***
option, where ***
is a JSON object path from
board manifest ATtiny402.json. For example,
board_build.mcu
, board_build.f_cpu
, etc.
[env:ATtiny402]
platform = atmelmegaavr
board = ATtiny402
; change microcontroller
board_build.mcu = attiny402
; change MCU frequency
board_build.f_cpu = 16000000L
Debugging currently does not support ATtiny402 board.
Name |
Description |
---|---|
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. |