Author Topic: boardInit() vs Init()  (Read 3116 times)

0 Members and 1 Guest are viewing this topic.

avenue33

  • Guest
boardInit() vs Init()
« on: March 08, 2012, 09:18:36 PM »
Wiring uses boardInit() instead of Init() as Arduino or chipKIT do.

However, all 3 are implementations based on the same Processing.

Is there a specific reason for the boardInit()?

For better compatibility, couldn't boardInit() be changed for Init()?

This is one issue I'm presently facing on my embedXcode project, embedded computing on Xcode.

cver65

Re: boardInit() vs Init()
« Reply #1 on: April 12, 2012, 04:47:22 AM »
Wouldn't a simple

#define Init boardInit

of some kind solve the problem ?

I'm not a C expert, but ...

avenue33

  • Guest
Re: boardInit() vs Init()
« Reply #2 on: April 21, 2012, 05:11:11 PM »
This obvious solution has been implemented.

But the question remains.

barragan

Re: boardInit() vs Init()
« Reply #3 on: April 24, 2012, 04:54:52 PM »
Yes this is something we will be discussing in our next meeting.