|
max counters and encoders and ultrasonic sensors
We have a bit of code that works in a SimpleRobot framework but does not work with our "real" code base. We are using DIO channels 13 and 14 for the output/input of an Ultrasonic class (using C++). The BIG difference in the "real" code base is the use of all 12 of the other DIO channels: 8 for 4 quadrature encoders (k4X), 3 for line following sensors and 1 for the pressure sensor.
We are getting no resource allocation errors or any other errors during initialization (watching code while loading code manually) but we get 0. Are we running into problems with the maximum number or types of counters in the FPGA (eg. are there only 8 in the FPGA)? Anyone else doing something like this successfully?
TIA
|