Recent

Author Topic: Arduino/Lazarus  (Read 1588 times)

BSaidus

  • Sr. Member
  • ****
  • Posts: 292
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Arduino/Lazarus
« on: August 16, 2017, 04:13:17 pm »
Hi !!
Is it possible to use FPC/Lazarus for Arduino ??
I'm newbe to this.
if yes, then could you oriente me.

Thanks !!
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

kupferstecher

  • Sr. Member
  • ****
  • Posts: 294
Re: Arduino/Lazarus
« Reply #1 on: August 16, 2017, 04:45:54 pm »
Arduino is a combination of hardware, ide and libs (based on cpp).

Fpc can compile the microcontroller families AVR and STM32, so you could use the Arduino hardware. Arduino libs can also be used, but mixing languages always is a bit ugly.

In the lazarus wiki there are some pages for target embedded (i.e. avr/arm without os).

Regards

avra

  • Hero Member
  • *****
  • Posts: 1689
    • Additional info
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib