Quantcast
Channel: MonoBrick.DK » All Posts
Viewing all articles
Browse latest Browse all 160

Reading Values of Sensors Asyncronise

$
0
0

hi every one here …

i use Bluetooth connections between my brick and PC

i test reading value of sensors by using mono brick communication lib and it works fin but i know that when i need to read value of sensor like ultrasonic sensor every time i start the connection with brick by my program and read it but i need the brick do it automatically just i wait and catch any value gets from the ultrasonic value is this available to achieve it or not
or any event can i use it when sensor send value to my PC

some one say to me this idea :

- make your program start the connection with brick and make timer every 1 second to read the sensor value , but i think this may make poor performance for my application

any idea ….

thanks for any help


Viewing all articles
Browse latest Browse all 160

Trending Articles