Skip to content

Code does not compile on actual ArduinoIDE? #57

Answered by Linoprit
Linoprit asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
frickeled around and got it running.

emulation.c: add following block into line 26;

extern unsigned long millis();
extern unsigned long micros();
extern void vTaskDelay( const int xTicksToDelay );
extern uint32_t ulTaskNotifyTake( int xClearCountOnExit, int xTicksToWait );
extern uint32_t esp_random(void);

galagino.ino, line 854: remove semicolon after #endif

Video.cpp, line 115; The declaration of Video conflicts with the FastLed library.
Push F2 in the editor and rename it to, say MyVideo.

There's a warning, 1942.h:
unsigned conversion from 'int' to 'unsigned char' changes value from '-137' to '119' [-Woverflow]
82 | if(Addr == 0xc003) return ~_1942_DIP_A;
Hope it works in spite of …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Linoprit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant