To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 8506
8505  |  8507
Subject: 
about peek() and poke()
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 29 Nov 2001 16:34:01 GMT
Viewed: 
1670 times
  
Hello,

I have some questions about serial communication of the HandyBoard to
PC.
I tried to write to the serial line from  HB. But I found that peek()
and
poke() functions don't work. (I used "list functions" to list all the
functions
available, and couldn't find these two functions)

And I did another test. I wrote these:

int i, j;
i=0x01;
poke(0x0120, i);
j=peek(0x0120);

and j is not 0x01.

This seems strange.

Could anyone help me with this?

Thanks a lot!

Yuwei



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR