Posted: Sun Aug 18, 2019 11:13 am Post subject: LIBRARIES ARDUINO in BASCOM AVR ???
Hello,
I am implementing some I2C sensors in BASCOM AVR. There are many libraries in Arduino for the new sensors (VEML6075, MLX90614, MAX44009, BMP280 ...). Anyone know if there is any way to use Arduino libraries in Bascom AVR ?. It would greatly increase the chances of implementing these devices in Bascom.
no. that is not possible. you should know that after 11 years
you can however look into the code to see if there is something specific. but in my experience, it is better to read the PDF and understand the nature of the device. _________________ Mark
Hi albertsm:
In my town (Málaga), they say: "In this life everything is fixed except death"
My scarce knowledge is some electronics and nothing assembler. However, I know there are "disassembler" programs:
https://www.avrfreaks.net/forum/how-can-i-disassemble-hex-file?skey=reavr%20de%20johannes%20assenbaum.
I have done some test by putting the following instruction in Windows PowerShell: "E: \ 1>. \ Avr-objdump.exe -m avr -D test.hex"
where test.hex is an elementary program compiled with Arduino.
The result has been very summarized and shortened:
test.hex: file format ihex
Disassembly of section .sec1:
00000000 <.sec1>:
0: 0c 94 5c 00 jmp 0xb8; 0xb8
4: 0c 94 6e 00 jmp 0xdc; 0xdc
8: 0c 94 6e 00 jmp 0xdc; 0xdc
........ etc etc....
In the same folder E: \ 1> I have placed the files "avr-objdump.exe" of Atmel Studio 7 and Test.hex ...
I think that using reverse engineering Arduino libraries could be obtained. But as I said earlier I don't know how to program assembler.
And this could open many new possibilities to Bascom AVR.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum