276°
Posted 20 hours ago

32 AMP Plug To 16 AMP Socket 240V Blue 4mm HO7RN-F Changeover Lead

£9.9£99Clearance
ZTS2023's avatar
Shared by
ZTS2023
Joined in 2023
82
63

About this deal

Be careful in changing to other variables than those used here as some of the consituent bits of word variables w1 and w0 are used to simplify the maths. Built-in Digital Read Out helps maintain consistent thicknesses to increase accuracy and output quality. Thanks HIPPY for the mind trigger that shows how effectively the picaxe word*word = 32 bit result does that task in firmware. The result can be full 32 bit (if you don't need that then you can remove all the lines that handle result_hi). Resilient and versatile, our extra-large 16ft x 32ft canvas marquees are rot-proof and made from white waterproof 500GSM cotton canvas.

I have a practice of renaming the registers to make software configuration more flexible and easily followed (see example below) , so perhaps PICAXE does not allow us to nest assignment under the variable symbols you define for the divide routine, in which case I might need to point these back to the absolute register values (bo, b1 w3 etc) ( HIPPY - is that the case?Need additional tent accessories, stoves, stoves accessories or cookware for your camping experience? starts with 65/21 = 3, remainder 2 ; 24/21 = 1, remainder 3 ; 33/21 = 1, remainder 12, so the final answer is 311, remainder 12.

Actually, it might be that there was just a line which had gone AWOL, marked in the updated code below. I don't have any clever maths to do it, but you can do it by repeated subtraction and counting how many done. I like the way you have reduced the word and byte registers required and the great documentation to go with it - very smart.This enables you to keep heat in when it’s cold and when it’s hot it will stay cooler inside of the canvas. I've been tidying up my above code, using word variables and a few extra lines to emulate an overflow/carry flag for the numerator. We have been making spokes here for over 100 years, so if you can't find what you're after - get in touch! e. dividing by multiples of ten for up to 10 digits) but the extra code is far larger than the basic division subroutine(s)! Not perfect in the shifting the divisor and bitMask but seems to work for 1000/3 = 333 and 123456789/100000 = 1234, so with a bit of tweaking should work .

I don't claim to understand (yet) how hippy's code works, but have spotted a couple of minor typos, "DIVIDEN T" in the assignments and the remainder is not actually printed, but is correctly calculated in dividend. Just an update that I've now posted my "full" 32 bit by 16 bit division routine in the code snippets section. That is where I personally would like to see PICaxe basic extended since IMHO the carry flag is so fundamental to microcontroller maths.

My test/demo code gives full 32 bits/16 bits with conversion/printing of results back to (up to) 10 digits of decimal (denary). The ENCS63/415/S13/32/16 has a 63 Amp Panel Inlet by Mennekes and 9 different outlets, each protected by a Type A RCD and C Curve MCBs by ABB or Doepke. And also letting us know about 32 bit editor symbols which point ialong th same track) If only someone had thought to do the compliment for 32 /16 divide in firmware, but I quess in the old days memory space was absolutely premium.

Asda Great Deal

Free UK shipping. 15 day free returns.
Community Updates
*So you can easily identify outgoing links on our site, we've marked them with an "*" symbol. Links on our site are monetised, but this never affects which deals get posted. Find more info in our FAQs and About Us page.
New Comment