Enabling A Register On A Pic

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
Sparkoids
Posts: 267
Joined: Mon Sep 14, 2009 10:34 am
Has thanked: 30 times
Been thanked: 19 times
Contact:

Enabling A Register On A Pic

Post by Sparkoids »

Does anyone know please how to actually enable registers on devices to use in Flowcode please?

I am trying to enable the Temperature Indicator Module on a PIC12(L)1571 and just don't know how to do it.

I want to be able to get the temperature into a Macro to check surface temperature of the device.

Here is the page from the data sheet - all ideas gratefully received!

Sparkoids
Posts: 267
Joined: Mon Sep 14, 2009 10:34 am
Has thanked: 30 times
Been thanked: 19 times
Contact:

Re: Enabling A Register On A Pic

Post by Sparkoids »

Datasheet page here
Attachments
19850970_334750753621790_781055845_o.png
Page from data sheet
(419.53 KiB) Downloaded 2975 times

Kenrix2
Flowcode v5 User
Posts: 211
Joined: Tue Feb 19, 2013 9:51 pm
Has thanked: 72 times
Been thanked: 177 times
Contact:

Re: Enabling A Register On A Pic

Post by Kenrix2 »

I made an experimental internal temperature macro but, it is written in V5.
http://www.matrixtsl.com/mmforums/viewt ... ure#p57003

Here it is converted to V7 but, I have not tested it. Maybe a starting point for you though. Good luck.
ChipTemp.FCM
(3.23 KiB) Downloaded 277 times

Sparkoids
Posts: 267
Joined: Mon Sep 14, 2009 10:34 am
Has thanked: 30 times
Been thanked: 19 times
Contact:

Re: Enabling A Register On A Pic

Post by Sparkoids »

Thank you very much indeed - I'll give it a shot...

:-}

johnsondav
Posts: 188
Joined: Thu Jun 28, 2012 7:29 pm
Location: Durham
Has thanked: 86 times
Been thanked: 186 times
Contact:

Re: Enabling A Register On A Pic

Post by johnsondav »

Hi Sparkoids

If you don't have any luck with the component, I would like to give it try and make one for FC7. I have had a look at the base CAL for FC7, it appears to allow you to get access to all of the channels for the ADC block.
Let me know if you're interested.

Dave

Post Reply