Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
orange pi / arm board and linking libraries for SPI and other devices
#3
For the APIs you're calling you can just use `Declare Library` with no library listed. Those APIs are part of the C standard library that QB64 already includes so you don't need to specify the library they come from.

As for the code, I don't know much about the `spidev` device but the code looks passable, the functions all look like they're called correctly.
Reply


Messages In This Thread
RE: orange pi / arm board and linking libraries for SPI and other devices - by DSMan195276 - 08-09-2024, 03:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Well after a month it's back to the drawing board. Pete 12 1,803 05-15-2025, 11:00 PM
Last Post: Kernelpanic
  qb64 "OPEN" linux /dev/ devices Parkland 2 781 06-30-2024, 02:52 AM
Last Post: DSMan195276
  Board Stats reads: Welcome our new member Dave Wood... Pete 9 1,658 04-06-2024, 03:59 AM
Last Post: Pete
  QB64 and ARM processors Richard 6 1,290 11-06-2022, 12:57 PM
Last Post: mnrvovrfc
  QB64 on ARM/Raspberry Pi David Irish 2 781 05-02-2022, 06:07 PM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)