ControlP5 examples errors
I'm getting errors in the examples code that comes with controlP5. Here are a few examples. The others work so I think I installed it correctly in the libraries folder. Version is Processing 1.5.1, controlP5 0.7.2, just ran the examples with no changes.
ControlP5accordion:
line 103: cp5.mapKey(new ControlKey() {public void keyEvent() {accordion.open(0,1,2);}}, 'o');
Error: The function mapKey(new ControlKey(){}, char) does not exist.
ControlP5chart:
line 22: ChartDataSet cds = myChart.addDataSet();
Error: The method addDataSet(String) in the type Chart is not applicable for the arguments ()
ControlP5bitFont:
line 23: label = new Label(this, "some funny text here.", 100,40, color(255));
The constructor Label(ControlP5bitFont, String, int, int, int) is undefined
ControlP5diyController:
line 25: cp5.register(pad);
The method register(Object, String, ControllerInterface<?>) in the type ControlP5 is not applicable for the arguments (ControlP5diyController.ControlPad)