lwc:hardware:logicgreen

This is an old revision of the document!


  • PD0 (pin 16): digital I/O pin
  • PD1 (pin 15): digital I/O pin
  • PD2 (pin 14): digital I/O pin
  • PD3 (pin 13): digital I/O pin
  • PD4 (pin 12): digital I/O pin
  • PD5 (pin 11): digital I/O pin
  • PD6 (pin 10): digital I/O pin
  • PD7 (pin 9): digital I/O pin

thank you, ChatGPT

  • add this to .platformio.ini:
[env:program_via_ArduinoISP]
platform = lgt8f
framework = arduino
board = lgt8f328p-LQFP48
upload_protocol = custom
upload_port = /dev/ttyACM*
upload_speed = 19200
upload_flags =
    -C
    $PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf
    -p
    $BOARD_MCU
    -P
    $UPLOAD_PORT
    -c
    stk500v1
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
  • then choose update platforms, toolchains, etc. for the new environment to be recognized/loaded by CLion
  • lwc/hardware/logicgreen.1691774200.txt.gz
  • Last modified: 2023/08/11 12:16
  • by John Harrison