+ # If we don't enable promiscous mode, we'll miss a lot of
+ # packets. It can be manually disabled later.
+ self.poke8(0x60,0xFF); #TODO Does this have any unpleasant side effects?
+
+ #Set the default rate of 125kHz.
+ self.MCPsetrate(125);
+
+ def MCPsetrate(self,rate=125):
+ """Sets the data rate in kHz."""