Rank: 3604 based on 35 downloads (last 30 days) and 1 file submitted
photo

Eddy Trinklein

E-mail
Company/University
Michigan Technological University

Personal Profile:
Professional Interests:
Embedded computing, Sensor applications, Data Processing, Multirotors, RC Heli's, RC Planes, Snowmobiling

 

Watch this Author's files

 

Files Posted by Eddy
Updated   File Tags Downloads
(last 30 days)
Comments Rating
01 Apr 2013 Screenshot ADLX345 i2c Driver for Arduino Mega This is a driver for the analog devices ADLX345 triaxial acceleration and an Arduino mega. Author: Eddy Trinklein instrument driver, measurement, embedded code, simulink, arduino, i2c 35 5
Comments and Ratings by Eddy View all
Updated File Comments Rating
29 Jan 2014 ADLX345 i2c Driver for Arduino Mega This is a driver for the analog devices ADLX345 triaxial acceleration and an Arduino mega. Author: Eddy Trinklein

Addie,

Have you tried a different compiler?

Thanks,

Ed

22 Apr 2013 ADLX345 i2c Driver for Arduino Mega This is a driver for the analog devices ADLX345 triaxial acceleration and an Arduino mega. Author: Eddy Trinklein

Phil,

If you could provide more info on where you run into problems I might be able to help you. It sounds like you've used this example to build a custom LCD driver? Awesome, I would love help.

Thanks,

Ed

Comments and Ratings on Eddy's Files View all
Updated File Comment by Comments Rating
29 Jan 2014 ADLX345 i2c Driver for Arduino Mega This is a driver for the analog devices ADLX345 triaxial acceleration and an Arduino mega. Author: Eddy Trinklein Trinklein, Eddy

Addie,

Have you tried a different compiler?

Thanks,

Ed

25 Jan 2014 ADLX345 i2c Driver for Arduino Mega This is a driver for the analog devices ADLX345 triaxial acceleration and an Arduino mega. Author: Eddy Trinklein irawan, addie

Hi Eddy:

I have this problem on downloading your model to my ArduinoMega:

The call to realtime_make_rtw_hook, during the after_make hook generated the following error:
The build failed with the following message: "C:/MATLAB/Targets/R2012a/arduino-1.0/hardware/tools/avr/bin/avr-gcc" -I"C:\Users\user\Downloads\ADXL345_driver_v1\Arduino_ADLX345_driver_v1_rtt" -I"C:\Users\user\Downloads\ADXL345_driver_v1" -I"C:\Program Files\MATLAB\R2012a\extern\include" -I"C:\Program Files\MATLAB\R2012a\simulink\include" -I"C:\Program Files\MATLAB\R2012a\rtw\c\src" -I"C:\Program Files\MATLAB\R2012a\rtw\c\src\ext_mode\common" -I"C:\Program Files\MATLAB\R2012a\rtw\c\ert" -I"C:\MATLAB\Targets\R2012a\arduino-1.0\hardware\arduino\cores\arduino" -I"C:\MATLAB\Targets\R2012a\arduino-1.0\hardware\arduino\variants\mega" -I"C:\MATLAB\Targets\R2012a\arduino\include" -I"C:\MATLAB\Targets\R2012a\arduino-1.0\libraries\Servo" -I"C:\Program Files\MATLAB\R2012a\rtw\c\src\ext_mode\serial" -mmcu=atmega2560 -std=gnu99 -Wall -Wstrict-prototypes -gstabs -Os -D"MODEL=Arduino_ADLX345_driver_v1" -D"NUMST=1" -D"NCSTATES=0" -D"HAVESTDIO=" -D"ONESTEPFCN=0" -D"EXT_MODE=1" -D"TERMFCN=1" -D"MAT_FILE=0" -D"MULTI_INSTANCE_CODE=0" -D"INTEGER_CODE=0" -D"MT=0" -D"TID01EQ=0" -D"F_CPU=16000000" -D"_RUNONTARGETHARDWARE_BUILD_=" -D"_ROTH_MEGA2560_=" -D"_RTT_NUMSERVOS_=0" -D"EXIT_FAILURE=1" -D"EXTMODE_DISABLEPRINTF=" -D"EXTMODE_DISABLETESTING=" -c -x none ./HardwareSerial.cpp ./Print.cpp ./WInterrupts.c ./WMath.cpp ./WString.cpp ./new.cpp ./wiring.c ./wiring_analog.c ./wiring_digital.c ./io_wrappers.cpp ./rtiostream_serial.cpp ./ext_svr.c ./ext_work.c ./updown.c ./ext_serial_pkt.c ./ext_svr_serial_transport.c ./rtiostream_serial_interface.c ./ADXL345_driver_v1_wrapper.cpp ./Arduino_ADLX345_driver_v1.c ./ert_main.c
cc1plus.exe: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus.exe: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
cc1plus.exe: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus.exe: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
cc1plus.exe: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus.exe: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
cc1plus.exe: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus.exe: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
cc1plus.exe: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus.exe: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
cc1plus.exe: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus.exe: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
./io_wrappers.cpp: In function 'void Serial_read(int, int, uint8_t*, int*)':
./io_wrappers.cpp:40: warning: 'libFcnOutput' may be used uninitialized in this function
cc1plus.exe: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus.exe: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
./rtiostream_serial.cpp: In function 'int rtIOStreamOpen(int, void**)':
./rtiostream_serial.cpp:28: warning: unused variable 'init_complete'
./ext_svr_serial_transport.c: In function 'ExtProcessArgs':
./ext_svr_serial_transport.c:247: warning: format '

The build process will terminate as a result.

Please help me on this. I have followed your steps in 'readme' file. But this error occurred. Your model is useful for my project to connect other chips with my ArduinoMega

13 May 2013 ADLX345 i2c Driver for Arduino Mega This is a driver for the analog devices ADLX345 triaxial acceleration and an Arduino mega. Author: Eddy Trinklein tanto, efrianto

Hello, I tried to build the slx file in simulink but the error in s -function'Arduino_ADLX345_driver_v1/S-Function Builder1':S-function'ADLX345_driver_v1' does not exist.
Could you please help me? Thanks,

Efri

22 Apr 2013 ADLX345 i2c Driver for Arduino Mega This is a driver for the analog devices ADLX345 triaxial acceleration and an Arduino mega. Author: Eddy Trinklein Trinklein, Eddy

Phil,

If you could provide more info on where you run into problems I might be able to help you. It sounds like you've used this example to build a custom LCD driver? Awesome, I would love help.

Thanks,

Ed

19 Apr 2013 ADLX345 i2c Driver for Arduino Mega This is a driver for the analog devices ADLX345 triaxial acceleration and an Arduino mega. Author: Eddy Trinklein phil

hey man great work. i am trying to follow your steps but i keep getting errors when trying to upload my driver (lcd driver)...it would be amazing if you could maybe do a screenrecord of the process and put it on youtube...i cant figure out what i am doing wrong...thanks!

Contact us