Subject:
|
Re: ic help
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Thu, 9 Jul 1998 02:55:07 GMT
|
Original-From:
|
Pandit Panburana <pdp@/StopSpam/ix.netcom.com>
|
Viewed:
|
1150 times
|
| |
| |
Hi LLya,
Actually, descriptions of these functions
are described in HB manual, at least mine
has.
peek() returns integer value for the given
location passed in as the parameter. For
example:
value = peek( 0x200);
The peek returns the int. value starting
at location 0x200.
poke() is a function that does not
return any value but takes 2 parameters
as the location and the value to put
in at the location specified.
For example:
poke (0x200, 0x10);
The above example will put value 0x10 at
0x200 (i.e. one byte poke).
-Pandit
----------
> From: Ilya <ilya@flight.uchicago.edu>
> To: handyboard@media.mit.edu
> Subject: ic help
> Date: Wednesday, July 08, 1998 11:10 AM
>
>
>
> Can someone please shed some light on the commands "peek" and "poke" for
> Interactive C. For some reason I am having trouble with the syntax.
>
> Thank you
>
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|