I'm not sure that is the correct way to define the colors, but it seems like it may work after I fix a couple mechanical problems (stepper slipping).
I ended up placing the definitions is the slicer startcode.
; Yellow
M163 S0 P0.5
M163 S1 P0.5
M163 S2 P0.0
M164 S3 P1
The P1 stores the setting under S3 in the eeprom. Since I did not store them in the eeprom, I left the P1 off or you can say P0, which tells the system not to sore them.
The only thing you have to define in the firmware is the number of virtual tools.
#define EXTRUDERS 1
#define MIXING_EXTRUDER
#if ENABLED(MIXING_EXTRUDER)
#define MIXING_STEPPERS 3 // Number of steppers in your mixing extruder
#define MIXING_VIRTUAL_TOOLS 16 // Use the Virtual Tool method with M163 and M164
//#define DIRECT_MIXING_IN_G1 // Allow ABCDHI mix factors in G1 movement commands
The other thing is that filament I got is not a true red or green.
The "red" is actually more of a salmon color and the green is a lime green. So even though my color wheel tells me to use 50% red and 50% green to get yellow, it will be some shade of yellow instead of a true yellow. So there will be a lot of experimenting.
I have not found a correlation between values in a color wheel and the P % values. (I'm not sure if the P value is a percentage)
For instance, on the color wheel saddle brown shows R=139, G=69, B=19. So you would think you could simply get the % and plug it in. 139/256 = .54, 69/256=.26, 19/256=.07
.54+.26+.07=.87 not quite 1.
So there's more work to do.
I ended up placing the definitions is the slicer startcode.
; Yellow
M163 S0 P0.5
M163 S1 P0.5
M163 S2 P0.0
M164 S3 P1
The P1 stores the setting under S3 in the eeprom. Since I did not store them in the eeprom, I left the P1 off or you can say P0, which tells the system not to sore them.
The only thing you have to define in the firmware is the number of virtual tools.
#define EXTRUDERS 1
#define MIXING_EXTRUDER
#if ENABLED(MIXING_EXTRUDER)
#define MIXING_STEPPERS 3 // Number of steppers in your mixing extruder
#define MIXING_VIRTUAL_TOOLS 16 // Use the Virtual Tool method with M163 and M164
//#define DIRECT_MIXING_IN_G1 // Allow ABCDHI mix factors in G1 movement commands
The other thing is that filament I got is not a true red or green.
The "red" is actually more of a salmon color and the green is a lime green. So even though my color wheel tells me to use 50% red and 50% green to get yellow, it will be some shade of yellow instead of a true yellow. So there will be a lot of experimenting.
I have not found a correlation between values in a color wheel and the P % values. (I'm not sure if the P value is a percentage)
For instance, on the color wheel saddle brown shows R=139, G=69, B=19. So you would think you could simply get the % and plug it in. 139/256 = .54, 69/256=.26, 19/256=.07
.54+.26+.07=.87 not quite 1.
So there's more work to do.