Transponder Control/Display | ByteSized Starbase Tutorial

3 months ago
12

In this tutorial I show you how to set up a transponder in Starbase. You will learn how to add a small button to your ship that acts as both a control for your transponder being on/off and also a display for whether you are inside a safe zone or not. The code for the program is listed below. If there is something you'd like a short tutorial on, tell me about it in the comments!

Needed Materials:
+ Transponder
+ Basic Yolol Chip
+ Yolol Chip Socket
+ Warning Light Button
+ Control Panel (place to put the button)

- - - - - - - - - - - - - YOLOL PROGRAM - - - - - - - - - - - - - - - - -
//Safezone Indicator and Transponder Control
transN=:trans transO=:trans btnN=:SZ btnO=:SZ //Setup First Values
blnkN=:SZblink blnkO=:SZblink
IF (NOT :inSZ) AND (NOT :trans) THEN blnkN=0 btnN=1 END //Update...
IF :inSZ AND (NOT :trans) THEN blnkN=0 btnN=0 END //Internal...
IF (NOT :inSZ) AND :trans THEN blnkN=1 btnN=1 END //States
IF :inSZ AND :trans THEN blnkN=10 btnN=1 END
IF :SZ!=btnO THEN transN=(NOT transO) btnN=(NOT btnO) END //Press
IF transN!=transO THEN :trans=transN END //Set Button & Trans.
IF blnkN!=blnkO THEN :SZBlink=blnkN END
IF btnN!=btnO THEN :SZ=btnN END
transO=transN btnO=btnN blnkO=blnkN GOTO4 //Set Olds to News

//Variable Table:
//Warning Button :SZ = ButtonState, :SZblink = ButtonEnableBlink
//Transponder :trans = transponderActive, :inSZ = insideSafeZone
//Internal transN = transponderOnNew, transO = transponderOnOld
// btnN = buttonOnNew, btnO = buttonOnOld
// blnkN = ButtonBlinkNew, blnkO = buttonBlinkOld
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Table of Contents:
00:00 Intro - You Know Why by Loyalty Freak Music
00:13 Showcase
00:37 Materials - Hydro Dip Different Items by Crafsman
01:17 Adding the Program & Setting up Devices
02:40 Demonstration & Explanation
03:31 Outro - Stardust by Loyalty Freak Music

----------------------------------------------------------------------------------------------------------
Music:
"You Know Why" by Loyalty Freak Music
https://www.chosic.com/free-music/all/?keyword=Loyalty%20Freak%20Music&artist

"Hydro-Dip Different Items"
By @TheCrafsMan
Used with permission from Crafsmama

"Stardust" by Loyalty Freak Music
https://www.chosic.com/free-music/all/?keyword=Loyalty%20Freak%20Music&artist

Find me on...
Odysee:
https://odysee.com/$/invite/@XenoCow:8
BitChute:
https://www.bitchute.com/channel/zdXFBXRs9Awm/
Rumble:
https://rumble.com/c/c-343105
YouTube:
https://www.youtube.com/@XenoCowEntertainment

Loading comments...