I am having some strange things happening with my project. I am building a DAC, which exports the signal to PK0-3. I get the errors attached below. Based on the address, the error is with port K. I changed my code a bit and I just sent out a signal to PK0-3 and they are connected to LED's. The LED's turn on from those pins. My DAC code itself does not work. I am attaching my DAC code that does not work and my test code that does show that the pins, despite the errors, still works. The difference is in the while loop. I know that DRM code is not supported, but I do not feel like the problem is within the style of code, but perhaps a setting in the code. I have no problems with the same style of coding in other projects.