28176 Parallax Inc, 28176 Datasheet - Page 120

KIT PARTS PROCESS CONTROL W/TEXT

28176

Manufacturer Part Number
28176
Description
KIT PARTS PROCESS CONTROL W/TEXT
Manufacturer
Parallax Inc
Datasheet

Specifications of 28176

Accessory Type
Process Control
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp® 2 and Board of Education
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Figure 4-16 shows a plot from a sample run that includes one problem you may have
noticed in your testing – multiple counts from a single box. This is addressed in the next
activity.
One other line of code worth mentioning is:
The
would be the remainder of
6-packs of soda. If you have 40 bottles of soda, how many would be left over after filling
as many 6 packs as possible? 40//6 = 4.
Figure 4-16 Sample Box Run For 3 and 10 Boxes per Truck
//
Stop the conveyor and change the value of the StampPlot input text box "Boxes
Per" to 8.
Start the conveyor and run boxes past. What changes? Why?
Box_Truck = Box_Count // Max_Truck
is the modulus operator, which provides the remainder from division. What
5//2
? The remainder would be 1. Take the example of filling

Related parts for 28176