Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:09 04 Jul 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 : Microcontroller and PC projects : One-Wire - Missing library’s?

Author Message
MolsonB
Regular Member

Joined: 25/01/2015
Location: Canada
Posts: 48
Posted: 04:51pm 27 Jan 2015
Copy link to clipboard 
Print this post

Hi Everyone.

I just started playing around with a ColorMax2, main goal is the read basic car type sensors. (temp, MAF, pressures, fuel levels, etc)

There is a lot for me to learn and play around with, so I bought the one-wire
DS1822 sensor to start. Upgraded the firmware to 4.5. In MMIDE, I can't get past the first line, OWReset 20 "unknown command".

I thought the firmware loads all the library's? This is a total newbie question and I feel embarrassed. But we all have to start somewhere!

-MattEdited by MolsonB 2015-01-29
MkII 44pin - v5.0

ColorMax 2 - v4.5
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 05:20pm 27 Jan 2015
Copy link to clipboard 
Print this post

For long and complicated reasons I had to change the one wire commands from one word (OWReset) to two words (ONEWIRE RESET).

Check page 63 of the manual for MMBasic V4.5.

Geoff
Geoff Graham - http://geoffg.net
 
MolsonB
Regular Member

Joined: 25/01/2015
Location: Canada
Posts: 48
Posted: 05:43pm 27 Jan 2015
Copy link to clipboard 
Print this post

Ahh perfect. I was reading the Beginning guide. I just found the MMBasic V4.5 manual, will read that now. Thanks Geoff.
MkII 44pin - v5.0

ColorMax 2 - v4.5
 
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