Please tell me that what's happening here?
Muhammad_Mudasir:
Please tell me that what's happening here?
You seem to have posted an image of text.
Please read How to use this forum.
The compiler tells you exactly what's happening: you're trying to assign a pointer ('long*' or 'int*') to a 'long' variable. That won't work, especially since you're multiplying it by a huge number first.
Either dereference it first, or do yourself a favor and use references instead of pointers.
Pieter
The e_place() function should NOT be taking pointers. Learn about pass-by-reference, instead.
Then, you don't need to deal with pointers.
Hi,
Welcome to the forum.
Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Thanks.. Tom... ![]()
