C-Bus Forums  

Go Back   C-Bus Forums > Logic Code Library > Community Logic Code Examples

The C-Bus Community Forums is place where C-Bus users can share information and help others with C-Bus. From time to time you will see Clipsal staff on the forums, but this is not an official support channel. If you really need help contact the official support services of Clipsal. More information about the purpose of this forum is available here.

Reply
 
Thread Tools Display Modes
  #1  
Old 22 Sep 06, 11:25 PM
wanricky wanricky is offline
Senior Member
 
Join Date: Sep 2005
Posts: 215
Default where is the official example?

I am looking forward to the official logic examples in the forum. But it has been a month since the start up of the post column and there is still nothing. I wish they are coming soon
Reply With Quote
  #2  
Old 23 Sep 06, 11:40 AM
Mr Mark Mr Mark is offline
Senior Member
 
Join Date: Jan 2006
Location: FNQ
Posts: 132
Default Screensaver text....

Combination of info straight from the book for this one, works well on a black background.
Good for the clients with holiday homes they use a few days every month or so...

Code:
{ variables }

positionx : integer;
positiony : integer;

txtsize : integer;
txtcolour : integer;
txtfont : integer;


{ module }

txtsize := (random(30)+20);
txtcolour := random($FFFFFF);
txtfont := random(3);

positionx := random(450);
positiony := random(350);

textpos(positionx, positiony);
SetFontColor(txtcolour);
SetFontSize(txtsize);
SetFontStyle(txtfont);
DrawText('Your');

textpos(positionx +10, positiony + txtsize + 1);
SetFontColor(txtcolour);
SetFontSize(txtsize);
SetFontStyle(txtfont);
DrawText('text');

textpos(positionx +25, positiony + (txtsize*2) + 4 );
SetFontColor(txtcolour);
SetFontSize(txtsize);
SetFontStyle(txtfont);
DrawText('here...');

Delay(3);
ClearScreen;
Mark
Reply With Quote
  #3  
Old 25 Sep 06, 05:09 PM
coppo coppo is offline
Senior Member
 
Join Date: Sep 2004
Location: Adelaide
Posts: 193
Default official examples

You already have the official examples on your computer as they are installed
when PICED is installed.

The only difference will be that the original examples will be re-packaged
with more info on what they do.... and how they go about doing it.

This is aimed at better educating installers as to how to combine Standard touchscreen
components with logic code.

The latest version of PICED 3.8.0 now has a very prominent "open examples"
button to make it easier to find them.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Cbus Cable... Official Best Practices Charlie Crackle Other C-Bus Hardware 6 04 Oct 04 11:42 PM
Official recommended Fusing & MCB for CBus modules robj Other C-Bus Hardware 8 16 Aug 04 05:25 PM


All times are GMT +10.5. The time now is 11:20 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.