News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

How to reset PIC

Started by drewdavis, Aug 13, 2024, 06:53 AM

Previous topic - Next topic

drewdavis

Make Every Outfit Mean Something with LionKingShirt POD T-Shirts

Every outfit tells a tale, doesn't it? You know how that concert tee with the crazy logo shouts your love for metal? And that game shirt? It's like your personal badge of honor for every quest you've ever conquered. Yet, few designs can start a conversation and leave an impression that lingers. That's where LionKingShirt steps in. Woven with care and a hint of personality, each thread tells a story, and before long, it will be the shirt you can't stop wearing.

Inside the Craft: How LionKingShirt Designs Come to Life

Maybe it sounds bold to say their work's one of a kind. But hey, don't just take words for it. Let's break it down.

1. Ideas Born from Everyday Emotion

Since great concepts – such as family pride, friendship humor, holiday joy, quiet resilience – are the reasons people reach for a shirt again and again, this brand translates those emotions into visuals. As a result, every piece can become a wearable reflection of what matters most to you.

Whether it's a shirt for your crew or your cause, they choose typefaces that carry tone, colors that cue mood, and subtle storytelling details like names, years, or coordinates. That's why every piece feels intentional.

2. From Concept to Print

Thanks to print-on-demand, your Lion King T-Shirts are made only when you order them. No piles of extras. No factory lines. Just your tee, made your way. That means less waste and tighter quality control.

The brand uses two industry-leading print technologies to match art style with the right finish:

  • DTG (Direct-to-Garment): Soft hand feel on 100% ringspun cotton; great for gradients and photo-like art.
  • DTF (Direct-to-Film): Vivid color and high opacity on dark garments; ideal for high-contrast graphics and bold logos.
For colorfastness, each print is properly cured. This can help your new favorite stay vibrant through many wash cycles.

3. Premium Blanks That Feel as Good as They Look

Using trusted staples like the Bella+Canvas 3001 (or an equally awesome equivalent), you'll get a lightweight, breathable tee that feels perfectly broken-in right out of the box – without ever looking worn out.

Fits run true to size, so you can count on consistency whether it's your first order or your fifth. Prefer a looser, streetwear look? Just size up.

Tag-free necklines can eliminate irritation. Meanwhile, shoulder taping keeps seams steady so your tee holds its shape through dozens of washes.

4. Quality Control Meets Environmental Mindfulness

Wear Your Passions with POD T-Shirt Designs from LionKingShirt. Because every piece is made to order, there's less overstock and fewer unsold piles. Pretreatment is applied with precision to protect detail and avoid misprints. Orders get manual checks before shipping, balancing sustainability with dependable quality.



Every shirt balances softness and strength

How LionKingShirt Turns Expression into Experience

Personalization changes how you feel in your clothes – and how people read your story.

1. Feel Seen – Wear What You Mean

Matching couple shirts, family reunion sets, inside-joke tees for your crew – custom text, names, and dates turn a graphic into a memory. You're not buying "a T-shirt"; you're preserving a moment you'll want to revisit.

2. Built for Comfort, Styled for Storytelling

Fabric is tested for stretch, drape, and all-day wear. The result is a tee that moves from errands to events without fuss. Pro tip: roll sleeves once and half-tuck the front for a clean, effortless look.

3. Gift Emotion, Not Just Fabric

Go personal and your gift lands.

  • Birthday shirts: add age or milestone themes.
  • Anniversary tees: print coordinates or a lyric you share.
  • Holiday designs: use nicknames or a family phrase that always gets a smile.


It'll be the shirt you can't stop wearing

Real Stories, Real Prints – What Customers Say

"The Lion King Tee Shirt print looks better in person than online." – Kayla R.

"Finally, a shirt that fits true to size after washing." – Marco T.

"We matched the whole reunion crew – zero sizing drama." – Elena P.

That's the gap between fast fashion and thoughtful POD design: quality you can feel, meaning you can share.

FAQs

How long does production and shipping take?

Production typically runs a few business days, then shipping depends on your region. You'll see estimates at checkout.

Can I exchange if the fit isn't right?

Yes – easy exchanges on unworn items within the posted window. Check the size guide before ordering for the best first-try fit.

How should I care for my print?

Wash cold, inside-out. Tumble low or hang dry. Avoid harsh bleach. If ironing, go inside-out and avoid the printed area.

Which fit should I choose?

Tees are true-to-size. Choose your usual size for classic fit or size up for a relaxed, streetwear vibe. Visit Stylish POD T-shirts for Men and Women - LionKingShirt.com for the detailed size chart.

Every outfit sends a message. With LionKingShirt, that message becomes intentional – comfort you can feel, sustainability you can trust, and design that holds its meaning. Whether you're shopping for yourself or gifting someone close, each shirt carries more than ink; it carries a story worth wearing again and again.

John Lawton

I assume you want a software reset?

What PIC are you using?

John

SCV

ASM
     reset
ENDASM

Has always worked for me.

Maxi


top204

#4
As stated above, the 18F devices and the enhanced 14-bit core devices have a Reset mnemonic, that has been brought out to the BASIC language, so just use it as a command:

Reset

This will perform a hardware reset and re-start the device, but will keep the contents of user RAM as it was, unless you have a Clear command within the code listing, which will clear all user RAM at device start-up.

Note that some SFRs (Special Function Registers) will revert to their start-up values, so they will need to be re-initialised again.

John Lawton

Hi Les,

interesting, I did not know of that command. Maybe add it to the manuals?

John

top204

#6
It's a device mnemonic John, and they are all brought out into the High Level Language. So in BASIC, you can do something like:

Dim MyByte As Byte

Movlw 127
Movwf MyByte
Btfsc STATUS,C

etc....

So simple form mnemonics are allowable in the high-level language as well, but be careful, because they do not alter RAM or page banks, and do not support the more complex parameters in the mnemonics. For the more complex mnemonic parameters, wrap them in Asm-EndAsm.

See the Asm..EndAsm section in the compiler's manual.

Also, when used within a procedure, the variable names and symbols are raw because the mnemonics are passed directly to the assembler (with a bit of checking to see if they are valid for the device), so the procedure name precedes the variable name.

Wimax

Hi Les,

Is there something similar for 16 bit devices ?

top204

#8
If you look at the "Instruction Set Summary" section in a PIC24 or dsPIC33 device's datasheet, you will see they also have a Reset mnemonic, and as with the 8-bit devices, the simplified mnemonics are brought out to the high level language.

This means that the Reset mnemonic can be placed in the code listing.

I've just noticed it does not highlight as a mnemonic for a 16-bit device in the IDE, so I have just corrected that in the "database.mcd" file, with the change listed below:

KEY ("Reset")
    Devicecore = [dc14, dc16, dc24, dc33]
    Highlighter = KeywordASM
ENDKEY


Wimax

Thank you very much  ;)

GERARD

Hello,
what's the point of doing a software reset?
I am the happy grandpa of twins

diebobo

I use it for example to force a controlled restart to enter bootmode.

Parmin

Often reset is useful when getting out of brownout or such to ensure every setting is done properly.

top204

As stated above, I have also, often used the Reset mnemonic to re-start the device if defaults are being placed, or a bootload is required, via a signal from another device.

This saves having to bring out the MCLR line to a serial interface, and a command is received to state a bootload is required, and the device is reset so the bootload can take place. It is a very handy mnemonic.

GERARD

I don't really understand.
Where in the program is the RESET command placed?
I am the happy grandpa of twins

top204

#15
Wherever the Reset mnemonic is within the code listing is when the device reset will happen.

For example, a pseudo template could be:

If MyButton = 1 Then
    Reset
EndIf

So the device will reset upon a button press.

Wimax

So there is no need to force the MCRL pin for this, you can use this to bootload using a serial link as suggested by Les before

top204

QuoteSo there is no need to force the MCRL pin for this, you can use this to bootload using a serial link as suggested by Les before

Yes. The Reset mnemonic performs, essentially, the same task as bringing the MCLR pin down to ground. i.e. It performs a hardware reset of the device, as opposed to just jumping to code address 0.

I've used it in several projects that have a serial interface, but need the ability to also bootload from the serial coms unit controlling it.

GERARD

Thanks to all of you, I learned something new today.
I usually put a BP on the MCLR pin.
I am the happy grandpa of twins

John Lawton

A hardware reset using a pushbutton on the MCLR line will always work as long as MCLR is enabled as hardware reset in the fuses.

If Reset is used in in a code loop it should work to reset the device but may not if the code loop goes haywire such as getting stuck in an interrupt and doesn't then reach that bit of code.

John