Jump to content

Recommended Posts

Hi All,

 

I hope someone can help as this forum seems quite good for responses. I'm evaluating Sourceboost 'c' compiler for some work on a Dallas Microlan 1-Wire project and whereas most other compilers (ccs, MikroElectronica 'c', WIZ-C etc) seem to offer support in libraries etc for 1-Wire read/write's I can find little reference to how this can be accomplished in Sourceboost - is it built in? It would be nice to use this compiler as the more I check its features the more I find to like! Am I hoping in vain as the project may well finish up too large to contemplate doing in assembler?

 

Thanks

Roger B

Link to post
Share on other sites

Roger,

 

I'm evaluating Sourceboost 'c' compiler for some work on a Dallas Microlan 1-Wire project and whereas most other compilers (ccs, MikroElectronica 'c', WIZ-C etc) seem to offer support in libraries etc for 1-Wire read/write's I can find little reference to how this can be accomplished in Sourceboost - is it built in?
Its not built in and its in a library yet :(

I afraid that you will have to write or port the required code. If you do so then please let us know, then we can share it with all BoostC users.

 

Regards

Dave

Link to post
Share on other sites

Hello Roger,

 

what I mean with the 'bit banging' is that the code library does not use a hardware unit in the PIC.

 

The required waveform is generated in software. This is normal, as the PIC16F87X-series have no built-in funtionality to deal with one wire devices.

 

The fact that the interface is emulated in software gives you the flexibility to use whatever IO you have available on your PIC to connect the one-wire devices to (hence the 'any pin' part of the statement).

 

Kind regards,

Lieven.

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...