What is this nasty clone? Running at quarter speed!

This is an answer to What is this nasty clone? Running at quarter speed!

Here's my platformio solution to

  • Make the TM1638plus library works
  • make the sleep() take proper time to execute
    with the "Arduino NANO V3.1" thing
; Use this one for shitty chinese board with no instructions (care to edit CPU frequency => 4MHz)
[env:ATmega328P_v3.1_chinese_shit_with_wrong_frequency]
platform = atmelavr
framework = arduino
board = nanoatmega328new
board_build.f_cpu = 4000000L