Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 17:01 10 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : PCB Manufacturing : Comms and Analog Sensor

Author Message
carlm
Newbie

Joined: 31/05/2018
Location: Australia
Posts: 10
Posted: 08:45pm 03 Jan 2019
Copy link to clipboard 
Print this post

Hi,
I have a project with a 44 pin Micromite Chip.
I also have a level sensor that uses a comm port.

I am after some code/guidance on how to proceed.

The net result will be the level will sit in a variable.

I assume that somehow I have to initially open the comm port and then
assign a Pin to the variable.

Thanks in advance
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 971
Posted: 10:46pm 03 Jan 2019
Copy link to clipboard 
Print this post

Hi,
Have a look at this thread. its about receiving data on a comm port and putting it into a variable.
You will need to know what speed it comes in at or try different speeds if unknown and understand how the message is formatted.


receiving from a comm port

Gerry

Latest F4 Latest H7 FotS
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025