2018年9月21日 星期五

Xcode 10.0 update problem of wxWidgets (g++)

ld: warning: /System/Library/Frameworks//...

try dylib to TBD files:

if the problem remains unsolved:

1. sudo mv /Library/Developer/CommandLineTools /Library/Developer/CommandLineTools.old
2. sudo rm -rf /Library/Developer/CommandLineTools.old
3. Download Command Line Tools from AppleDeveloper :
4. Double Click *.dmg (e.g. Command_Line_Tools_macOS_10.13_for_Xcode_9.2.dmg) install
5. Rebuild your wxWidgets project with g++

2018年9月9日 星期日


wxNixieClock is time sync tool for Nixie Clock project.(Only MAC-OS-X)

g++ -o2 -o wxnixieclock.cpp serialport.cpp connectargsdlg.cpp `wx-config --cxxflags --libs` -m64

1. Pair BT of MAC and Nixie Clock.
2. Open to select tools -> Connect Device -> cu.BT device driver
3. Click SyncTime button
4. Done!

Install wxWidgets dependency in terminal

1. user$ /usr/bin/ruby -e "$(curl -fsSL" 
2. brew install wxwidgets 

Reference : Nixie Clock

2018年9月7日 星期五

STM32F407-MG996R and MAC OS X GUI tester

STM32F407 with PWM to control MG996R, and GUI tester for MAX OS X

make STM32F407 project, and burn to board.(0.5ms~2.5ms)
build GUI
g++ -o2 -o wxservotester.cpp serialport.cpp connectargsdlg.cpp `wx-config --cxxflags --libs`
3. -> Tools -> ConnectDevice
Test your servo motor!

2018年7月8日 星期日

Real-Time wxSignalProcess with Serial Port(VCP) for MAC OS X

一個C++ MAC OS X的範例從/dev/tty.* or /dev/cu.* device driver取得Virtual COM Port的資料並且顯示在GUI,Framework用wxWidgets 3.0以及MRPT修改版的wxMathPlot 0.1.2,和修改以前Linux POSIX API的Class組合,多增加ioctl讀取,以及一個STM32F4的DMA+ADC的Example可供測試。