Your ROOT_URL in app.ini is unix://git.lalonde.me:3000/ but you are visiting https://git.lalonde.me/matth/cral/commit/b2fe6b8e9c04035fb025ffa128ab4ab5e925f88f?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
8 additions and
2 deletions
@ -193,6 +193,13 @@ void sendBanner(uint8_t *buffer, int ledState) { // {Socket targetSocket, ) {
}
}
uint8_t readByte() {
uint8_t theByte;
recv(testSocket, &theByte, 1);
return theByte;
}
void loop() {
void loop() {
Serial.println("Test W5100 socket...");
Serial.println("Test W5100 socket...");
@ -256,8 +263,7 @@ void loop() {
while (getSn_SR(testSocket) == SOCK_ESTABLISHED) {
while (getSn_SR(testSocket) == SOCK_ESTABLISHED) {
while (getSn_RX_RSR(testSocket) > 0) {
while (getSn_RX_RSR(testSocket) > 0) {
recv(testSocket, bytesReceived, 1);
theByte = readByte();
theByte = bytesReceived[0];
//Serial.print(bytesReceived[0], BYTE);
//Serial.print(bytesReceived[0], BYTE);
Serial.print(theByte, BYTE);
Serial.print(theByte, BYTE);
if ((state == STATE_G) && (theByte == 'G')) {
if ((state == STATE_G) && (theByte == 'G')) {