preset

CRC preset and residue

Hi, I am working with a device that requires me to generate a 16 bit CRC. The datasheet for the device says it needs the following CRC Definition: CRC Type Length Polynomial Direction Preset Residue CRC-CCITT 16 bits x16 + x12 + x5 + 1 Forward FFFF (16) 1D0F (16) where preset=FFFF (16 bit) and Residu...

android.widget.AnalogClock set time

Is there a way to have the android.widget.AnalogClock display a preset time? I don't want to create a custom AnalogClock, I just want the regular one to display a time to my liking. ...

Selective JQuery validation

Hi, I'm using JQuery Validation to validate a particular textbox in my form. The textbox is an optional website section, which uses the url validation method. This works fine and validates accordingly. I would like to have http:// preset into the textbox, to save the user having to type it. However, when the text is set, the validator ...