re#define before or after #include

User avatar
majenko
Site Admin
Posts: 2164
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: re#define before or after #include

Post by majenko » Tue Mar 08, 2016 11:16 pm

I generally create a variable because I may well have a number of things on the same SPI bus and want to pass the same object instance through to each constructor - or use it manually in my sketch.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

Post Reply