QC

How to setup graphics.h in VS Code

 LINKS

1) Download Visual Studio Code https://code.visualstudio.com/ 2) Download 32bit Compiler https://jmeubank.github.io/tdm-gcc/ 3) Download graphics.h library files (you must use 32bit compiler) https://drive.google.com/file/d/16xZBvFXf7yFjxwTpuyevK1KPuLgUeZFh/view

Hướng dẫn cài đặt Từ bước 2.
Vào : https://jmeubank.github.io/tdm-gcc/
Tải : MinGW.org based: tdm-gcc-10.3.0.exe, 60.2 MB
Và cài đặt Bình thường !

Sau cài đặt xong Tải bước số 3 tải về : https://drive.google.com/file/d/16xZBvFXf7yFjxwTpuyevK1KPuLgUeZFh/view 
  trong đó 2 file.h bỏ vào : C:\TDM-GCC-32\include
file .a  bỏ vào C:\TDM-GCC-32\lib


TẠO PROJECT : Tạo 1 fodder Tên ABC mở file vsc và add test.c
VIEW - COMMDER ... -> đánh c++ ui mở lên : 

Microsoft
C/C++ Extension
Và config cấu hình như sau :
Compiler path : gốc C:/MinGW/bin/gcc.exe
Thay bằng : C:/TDM-GCC-32/bin/g++.exe
One argument per line.
-lbgi
-lgdi32
-lcomdlg32
-luuid
-loleaut32
-lole32

C standard
17

C++ standard
c++11





























Nap Code vào PY32F003 dùng Stlink

 Nap Code vào PY32F003 dùng Stlink Bước 1: Cài đặt  KeilC v5.39 theo link sau ( chú ý 5.39 keil c mới nạp ok). https://edge07.111.ir.cdn.ir/...