Hello
I am a university student very new to programming. I am trying to interact with the SRF02 sonar rangefinder for use as an altimeter on a UAV, and currently using the UART to communicate with it, through a dsPIC30F4013. (I am aware that it supports I2C also, but the unit is currently wired for serial connections) I simply want to send two bytes of information, firstly the address of the sonar, then a command to do the ranging, which this unit does all in one. However I am unsure of the correct proceedure for doing so, at the moment I am sending constants to the UART TX block only. Any help with this would be greatly appreciated.
Ben
Correct use of UART peripheral
Re: Correct use of UART peripheral
Flex Board Blinking LED example among the presented examples of the wikki may help you through this.
Who is online
Users browsing this forum: No registered users and 3 guests