Put any variables or aliases used in the include file, before the INCLUDE statement.Code:'-------------------- uM-FPU pin definitions ---------------------------------- FpuClk var PORTC.3 ' SPI SCLK (uM-FPU SCLK) FpuIn var PORTC.4 ' SPI MISO (uM-FPU SOUT) FpuOut var PORTC.5 ' SPI MOSI (uM-FPU SIN) '-------------------- INCLUDE files -------------------------------------------- Include "modedefs.bas" 'Include for serial communication include "umfpuV3-spi.bas" ' include uM-FPU V3.1 support routines include "fp1832.bas" 'Floating point math






Bookmarks