My carefree awning had a similar issue. Perhaps this may help get you started.
I assume the battery is fully charged and nothing mechanically is stopping the awning from extending.
1)Can u manually extend/retract the awning with a 12v drill battery? Check your manual to see if your awning has this feature. The contacts are on the top side of the awning motor housing. If you can get the awning to operate then u can rule out the motor/awning mechanism.
2)Remove the switch from the wall to see that all 4 connections are connected to the switch. Gently pull the wire bundles out of the wall to see the wire nut connections Feeding the switch are secure.
2016 RAM 3500 DRW 4x4 LB LoneStar Edition, w/Timbrens, Andersen Ultimate 2, Swift Hitch SH04 WiFi Backup/Rear View Camera
2018 Chaparral 360IBL w/Tireminder SMART TPMS, Furrion Wireless Observation System, Progressive EMS-HW50C
2006 RAM 3500 DRW LoneStar Edition
2011 Starcraft 392BHU w/Andersen No-Sway hitch