Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| basys3:abacus [2015/12/11 01:32] – [2. Build the Project] Thomas Kappenman | basys3:abacus [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Basys3 Abacus Demo ====== | + | ====== Basys3 Abacus Demo (Legacy) |
| + | |||
| + | <WRAP round important 660px> | ||
| + | === Important! === | ||
| + | This is a legacy demo, see the updated version of this demo [[learn: | ||
| + | </ | ||
| {{: | {{: | ||
| Line 87: | Line 92: | ||
| - | >4.1.) Subtraction (BTNU) | + | >4.1) Subtraction (BTNU) |
| > | > | ||
| >When BTNU is pressed down, this activates subtraction. This function uses the formula A - B. While the button is held down, the display will show a static number that will also display whether it is positive or negative. When BTNU is released, the result will start to scroll through the LEDs. | >When BTNU is pressed down, this activates subtraction. This function uses the formula A - B. While the button is held down, the display will show a static number that will also display whether it is positive or negative. When BTNU is released, the result will start to scroll through the LEDs. | ||
| Line 93: | Line 98: | ||
| > | > | ||
| - | >4.2.) Multiplication (BTND) | + | >4.2) Multiplication (BTND) |
| > | > | ||
| >When BTND is pressed down, this activates multiplication. This function uses the formula A * B. While the button is >held down, the display will show the product until the user releases BTND. The display will then return to whatever >was last scrolling. | >When BTND is pressed down, this activates multiplication. This function uses the formula A * B. While the button is >held down, the display will show the product until the user releases BTND. The display will then return to whatever >was last scrolling. | ||
| Line 101: | Line 106: | ||
| >The abacus calculating 3*3 | >The abacus calculating 3*3 | ||
| - | >4.3.) Division (BTNR) | + | >4.3) Division (BTNR) |
| > | > | ||
| >When BTNR is pressed down, this activates division. This function uses the formula A / B. While the button is held down, the display will show the quotient until the user releases BTNR. The display will then return to whatever was last scrolling. | >When BTNR is pressed down, this activates division. This function uses the formula A / B. While the button is held down, the display will show the quotient until the user releases BTNR. The display will then return to whatever was last scrolling. | ||
| Line 109: | Line 114: | ||
| >The abacus calculating 16 / 2 | >The abacus calculating 16 / 2 | ||
| - | >4.4.) Modulo/ | + | >4.4) Modulo/ |
| > | > | ||
| >When BTNL is pressed down, this activates modulo. This function uses the formula A % B. While the button is held down, the display will show the remainder until the user releases BTNL. The display will then return to whatever was last scrolling. | >When BTNL is pressed down, this activates modulo. This function uses the formula A % B. While the button is held down, the display will show the remainder until the user releases BTNL. The display will then return to whatever was last scrolling. | ||
| Line 116: | Line 121: | ||
| > | > | ||
| >The abacus calculating 17 % 2 | >The abacus calculating 17 % 2 | ||
| + | |||
| + | {{tag> | ||

