Pneumatic trouble

#include “vex.h”
#include <vex_triport.h>

using namespace vex;

digital_out dig1 = digital_out( Brain.ThreeWirePort.H);
//pneumatics PN = pneumatics( Brain.ThreeWirePort.H);

int main() {
// Initializing Robot Configuration. DO NOT REMOVE!

while(1) {
if( Controller1.ButtonL1.pressing() ) {
dig1.set( true );
else {
dig1.set( false );

This is the code we are using for trying to get the pneumatics to work as expected. every time we run the code we get a “memory permission error! 03801198” printed onto the brain screen. Is there anything we are doing wrong and does anyone have code that will get the pneumatics to work?