Hi guys i need a help i have a my fyp using a arduino my project name are automatic cat litter. My friend help me doing a coding and its working nicely but this morning i accidently press my keyboard when working on that coding and when i want to upload my coding to arduino its fail its say "arduino ide expected primary-expression before }" i doesnt know how to fix and my friend are going to vacation for 2weeks and i need to submit my coding by this week anyone know how to fix this.
This is my full coding
void setup() { //Setup runs once//
pinMode(11, OUTPUT); //Set Wpump as an output//
pinMode(9, INPUT); //Set sensorA as an input//
pinMode(10, INPUT); //Set sensorB as an input//
pinMode(7, OUTPUT); //Set CW as an output//
pinMode(8, OUTPUT); //Set CCW as an output//
Your topic was MOVED to its current forum category which is more appropriate than the original as it has nothing to do with Installation and Troubleshooting of the IDE
Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'
Use code tags (the </> icon above the compose window) to make it easier to read and copy for examination